summaryrefslogtreecommitdiffstats
path: root/drivers/usb/serial/option.c
diff options
context:
space:
mode:
authorJohan Hovold2015-08-17 17:35:23 +0200
committerGreg Kroah-Hartman2015-08-18 19:07:09 +0200
commit9257f1daa8befd5c0a343031dd870236550e00c5 (patch)
treee44f6812c8b3b2639228fb765d065d6cafe4f25d /drivers/usb/serial/option.c
parentUSB: symbolserial: Correct transferred data size (diff)
downloadkernel-qcow2-linux-9257f1daa8befd5c0a343031dd870236550e00c5.tar.gz
kernel-qcow2-linux-9257f1daa8befd5c0a343031dd870236550e00c5.tar.xz
kernel-qcow2-linux-9257f1daa8befd5c0a343031dd870236550e00c5.zip
USB: option: silence interrupt errors
Avoid spamming the logs (e.g. with -EPROTO errors) when attempting to resubmit the interrupt urb while a disconnect of an in-use device is being processed. Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/serial/option.c')
-rw-r--r--drivers/usb/serial/option.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/serial/option.c b/drivers/usb/serial/option.c
index 876423b8892c..6d1941a2396a 100644
--- a/drivers/usb/serial/option.c
+++ b/drivers/usb/serial/option.c
@@ -1941,7 +1941,7 @@ static void option_instat_callback(struct urb *urb)
} else if (status == -ENOENT || status == -ESHUTDOWN) {
dev_dbg(dev, "%s: urb stopped: %d\n", __func__, status);
} else
- dev_err(dev, "%s: error %d\n", __func__, status);
+ dev_dbg(dev, "%s: error %d\n", __func__, status);
/* Resubmit urb so we continue receiving IRQ data */
if (status != -ESHUTDOWN && status != -ENOENT) {