diff mbox series

USB: adutux: fix debugging

Message ID 20200917112600.26508-1-oneukum@suse.com (mailing list archive)
State Accepted
Commit c56150c1bc8da5524831b1dac2eec3c67b89f587
Headers show
Series USB: adutux: fix debugging | expand

Commit Message

Oliver Neukum Sept. 17, 2020, 11:26 a.m. UTC
Handling for removal of the controller was missing at one place.
Add it.

Signed-of-by: Oliver Neukum <oneukum@suse.com>
---
 drivers/usb/misc/adutux.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c
index d8d157c4c271..96495fcd952a 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__,