|
@@ -235,8 +235,8 @@ static void usb_alphatrack_interrupt_in_callback(struct urb *urb)
|
|
|
|
|
|
if (urb->actual_length != INPUT_CMD_SIZE) {
|
|
if (urb->actual_length != INPUT_CMD_SIZE) {
|
|
dev_warn(&dev->intf->dev,
|
|
dev_warn(&dev->intf->dev,
|
|
- "Urb length was %d bytes!!"
|
|
|
|
- "Do something intelligent\n", urb->actual_length);
|
|
|
|
|
|
+ "Urb length was %d bytes!! Do something intelligent\n",
|
|
|
|
+ urb->actual_length);
|
|
} else {
|
|
} else {
|
|
alphatrack_ocmd_info(&dev->intf->dev,
|
|
alphatrack_ocmd_info(&dev->intf->dev,
|
|
&(*dev->ring_buffer)[dev->ring_tail].cmd,
|
|
&(*dev->ring_buffer)[dev->ring_tail].cmd,
|
|
@@ -690,8 +690,7 @@ static int usb_alphatrack_probe(struct usb_interface *intf,
|
|
}
|
|
}
|
|
if (dev->interrupt_out_endpoint == NULL)
|
|
if (dev->interrupt_out_endpoint == NULL)
|
|
dev_warn(&intf->dev,
|
|
dev_warn(&intf->dev,
|
|
- "Interrupt out endpoint not found"
|
|
|
|
- "(using control endpoint instead)\n");
|
|
|
|
|
|
+ "Interrupt out endpoint not found (using control endpoint instead)\n");
|
|
|
|
|
|
dev->interrupt_in_endpoint_size =
|
|
dev->interrupt_in_endpoint_size =
|
|
le16_to_cpu(dev->interrupt_in_endpoint->wMaxPacketSize);
|
|
le16_to_cpu(dev->interrupt_in_endpoint->wMaxPacketSize);
|