|
|
@@ -257,8 +257,7 @@ static void usb_tranzport_interrupt_in_callback(struct urb *urb)
|
|
|
|
|
|
if (urb->actual_length != 8) {
|
|
|
dev_warn(&dev->intf->dev,
|
|
|
- "Urb length was %d bytes!!"
|
|
|
- "Do something intelligent\n",
|
|
|
+ "Urb length was %d bytes!! Do something intelligent\n",
|
|
|
urb->actual_length);
|
|
|
} else {
|
|
|
dbg_info(&dev->intf->dev,
|
|
|
@@ -542,8 +541,7 @@ static ssize_t usb_tranzport_read(struct file *file, char __user *buffer,
|
|
|
}
|
|
|
|
|
|
dbg_info(&dev->intf->dev,
|
|
|
- "%s: copying to userspace: "
|
|
|
- "%02x%02x%02x%02x%02x%02x%02x%02x\n",
|
|
|
+ "%s: copying to userspace: %02x%02x%02x%02x%02x%02x%02x%02x\n",
|
|
|
__func__,
|
|
|
(*dev->ring_buffer)[dev->ring_tail].cmd[0],
|
|
|
(*dev->ring_buffer)[dev->ring_tail].cmd[1],
|
|
|
@@ -570,8 +568,7 @@ static ssize_t usb_tranzport_read(struct file *file, char __user *buffer,
|
|
|
* and we are the same sign, we can compress +- 7F
|
|
|
*/
|
|
|
dbg_info(&dev->intf->dev,
|
|
|
- "%s: trying to compress: "
|
|
|
- "%02x%02x%02x%02x%02x%02x%02x%02x\n",
|
|
|
+ "%s: trying to compress: %02x%02x%02x%02x%02x%02x%02x%02x\n",
|
|
|
__func__,
|
|
|
(*dev->ring_buffer)[dev->ring_tail].cmd[0],
|
|
|
(*dev->ring_buffer)[dev->ring_tail].cmd[1],
|
|
|
@@ -830,8 +827,7 @@ static int usb_tranzport_probe(struct usb_interface *intf,
|
|
|
}
|
|
|
if (dev->interrupt_out_endpoint == NULL)
|
|
|
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 =
|
|
|
le16_to_cpu(dev->interrupt_in_endpoint->wMaxPacketSize);
|