USB: adutux: fix debugging
authorOliver Neukum <oneukum@suse.com>
Thu, 17 Sep 2020 11:26:00 +0000 (13:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 17 Sep 2020 16:52:40 +0000 (18:52 +0200)
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>
drivers/usb/misc/adutux.c

index a7eefe1..45a3879 100644 (file)
@@ -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__,