]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/usb/misc/adutux.c
USB: missing test for ESHUTDOWN in adutux driver
[linux-2.6-omap-h63xx.git] / drivers / usb / misc / adutux.c
index e9fdbc8997b32c2be588a3b52030448c4a689307..5131cbfb2f5230cec9c0c3cd9d5c95d5f5731538 100644 (file)
@@ -188,7 +188,8 @@ static void adu_interrupt_in_callback(struct urb *urb)
        spin_lock(&dev->buflock);
 
        if (status != 0) {
-               if ((status != -ENOENT) && (status != -ECONNRESET)) {
+               if ((status != -ENOENT) && (status != -ECONNRESET) &&
+                       (status != -ESHUTDOWN)) {
                        dbg(1," %s : nonzero status received: %d",
                            __FUNCTION__, status);
                }