summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver Neukum <oneukum@suse.com>2020-09-17 13:26:00 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-09-17 18:52:40 +0200
commitc56150c1bc8da5524831b1dac2eec3c67b89f587 (patch)
tree35da26adba16527a282f8164b9758706c97ed0db
parent871e6496207c6aa94134448779c77631a11bfa2e (diff)
downloadlinux-c56150c1bc8da5524831b1dac2eec3c67b89f587.tar.bz2
USB: adutux: fix debugging
Handling for removal of the controller was missing at one place. Add it. Signed-off-by: Oliver Neukum <oneukum@suse.com> Link: https://lore.kernel.org/r/20200917112600.26508-1-oneukum@suse.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/usb/misc/adutux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c
index a7eefe11f31a..45a387979935 100644
--- a/drivers/usb/misc/adutux.c
+++ b/drivers/usb/misc/adutux.c
@@ -209,6 +209,7 @@ static void adu_interrupt_out_callback(struct urb *urb)
if (status != 0) {
if ((status != -ENOENT) &&
+ (status != -ESHUTDOWN) &&
(status != -ECONNRESET)) {
dev_dbg(&dev->udev->dev,
"%s :nonzero status received: %d\n", __func__,