Re: PATCH: usb-ohci: interrupt out with urb->interval 0

David Glance (david@csse.uwa.edu.au)
Mon, 21 Apr 2003 16:07:48 +0800


corrected patch for 2.4.21-pre7

--- usb-ohci.c 2003-04-21 15:53:19.000000000 +0800
+++ usb-ohci.patch.c 2003-04-21 16:03:51.000000000 +0800
@@ -490,6 +490,13 @@
usb_pipeout (urb->pipe)
? PCI_DMA_TODEVICE
: PCI_DMA_FROMDEVICE);
+
+ if (urb->interval == 0) {
+ urb_rm_priv (urb);
+ urb->complete (urb);
+ break;
+ }
+
urb->complete (urb);

/* implicitly requeued */

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/