diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/usb/serial/generic.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/usb/serial/generic.c b/drivers/usb/serial/generic.c index 89fac36684c5..e560d1d7f628 100644 --- a/drivers/usb/serial/generic.c +++ b/drivers/usb/serial/generic.c | |||
@@ -415,11 +415,13 @@ void usb_serial_generic_resubmit_read_urb(struct usb_serial_port *port, | |||
415 | ((serial->type->read_bulk_callback) ? | 415 | ((serial->type->read_bulk_callback) ? |
416 | serial->type->read_bulk_callback : | 416 | serial->type->read_bulk_callback : |
417 | usb_serial_generic_read_bulk_callback), port); | 417 | usb_serial_generic_read_bulk_callback), port); |
418 | |||
418 | result = usb_submit_urb(urb, mem_flags); | 419 | result = usb_submit_urb(urb, mem_flags); |
419 | if (result) | 420 | if (result && result != -EPERM) { |
420 | dev_err(&port->dev, | 421 | dev_err(&port->dev, |
421 | "%s - failed resubmitting read urb, error %d\n", | 422 | "%s - failed resubmitting read urb, error %d\n", |
422 | __func__, result); | 423 | __func__, result); |
424 | } | ||
423 | } | 425 | } |
424 | EXPORT_SYMBOL_GPL(usb_serial_generic_resubmit_read_urb); | 426 | EXPORT_SYMBOL_GPL(usb_serial_generic_resubmit_read_urb); |
425 | 427 | ||