Handling for removal of the controller was missing at one place.
Add it.

Signed-of-by: Oliver Neukum <[email protected]>
---
 drivers/usb/misc/adutux.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/misc/adutux.c b/drivers/usb/misc/adutux.c
index 17a4702d4636..14bf2beaf964 100644
--- a/drivers/usb/misc/adutux.c
+++ b/drivers/usb/misc/adutux.c
@@ -207,6 +207,7 @@ static void adu_interrupt_out_callback(struct urb *urb)
 
        if (status != 0) {
                if ((status != -ENOENT) &&
+                   (status != -ESHUTDOWN) &&
                    (status != -ECONNRESET)) {
                        dev_dbg(&dev->interface->dev,
                                "%s :nonzero status received: %d\n", __func__,
-- 
2.12.3

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to