]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
UHCI: don't stop at an Iso error
authorAlan Stern <stern@rowland.harvard.edu>
Mon, 21 Aug 2006 15:58:50 +0000 (11:58 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 1 Sep 2006 01:04:30 +0000 (18:04 -0700)
Unlike other sorts of endpoint queues, Isochronous queues don't stop
when an error is encountered.  This patch (as772) fixes the scanning
routine in uhci-hcd, to make it keep on going when it finds an Iso
error.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/uhci-q.c

index 66c3f61bc9d1332da61027fd5b2a005c7af941f1..026dad06f82be60d541b22f6ea0a7856ef8ad5c5 100644 (file)
@@ -1348,7 +1348,7 @@ static void uhci_scan_qh(struct uhci_hcd *uhci, struct uhci_qh *qh,
                }
 
                uhci_giveback_urb(uhci, qh, urb, regs);
-               if (status < 0)
+               if (status < 0 && qh->type != USB_ENDPOINT_XFER_ISOC)
                        break;
        }