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

From: David Glance (david@csse.uwa.edu.au)
Date: Mon Apr 21 2003 - 03:07:48 EST


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/



This archive was generated by hypermail 2b29 : Wed Apr 23 2003 - 22:00:28 EST