aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/oti6858.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb/serial/oti6858.c')
-rw-r--r--drivers/usb/serial/oti6858.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/usb/serial/oti6858.c b/drivers/usb/serial/oti6858.c
index e287fd32682c..343e626a06f8 100644
--- a/drivers/usb/serial/oti6858.c
+++ b/drivers/usb/serial/oti6858.c
@@ -302,7 +302,7 @@ static void send_data(struct work_struct *work)
302 if (count != 0) { 302 if (count != 0) {
303 allow = kmalloc(1, GFP_KERNEL); 303 allow = kmalloc(1, GFP_KERNEL);
304 if (!allow) { 304 if (!allow) {
305 dev_err(&port->dev, "%s(): kmalloc failed\n", 305 dev_err_console(port, "%s(): kmalloc failed\n",
306 __func__); 306 __func__);
307 return; 307 return;
308 } 308 }
@@ -334,7 +334,7 @@ static void send_data(struct work_struct *work)
334 port->write_urb->transfer_buffer_length = count; 334 port->write_urb->transfer_buffer_length = count;
335 result = usb_submit_urb(port->write_urb, GFP_NOIO); 335 result = usb_submit_urb(port->write_urb, GFP_NOIO);
336 if (result != 0) { 336 if (result != 0) {
337 dev_err(&port->dev, "%s(): usb_submit_urb() failed" 337 dev_err_console(port, "%s(): usb_submit_urb() failed"
338 " with error %d\n", __func__, result); 338 " with error %d\n", __func__, result);
339 priv->flags.write_urb_in_use = 0; 339 priv->flags.write_urb_in_use = 0;
340 } 340 }
@@ -938,7 +938,7 @@ static void oti6858_write_bulk_callback(struct urb *urb)
938 port->write_urb->transfer_buffer_length = 1; 938 port->write_urb->transfer_buffer_length = 1;
939 result = usb_submit_urb(port->write_urb, GFP_ATOMIC); 939 result = usb_submit_urb(port->write_urb, GFP_ATOMIC);
940 if (result) { 940 if (result) {
941 dev_err(&port->dev, "%s(): usb_submit_urb() failed," 941 dev_err_console(port, "%s(): usb_submit_urb() failed,"
942 " error %d\n", __func__, result); 942 " error %d\n", __func__, result);
943 } else { 943 } else {
944 return; 944 return;