lkml.org 
[lkml]   [2003]   [Apr]   [21]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
DateMon, 21 Apr 2003 16:07:48 +0800
FromDavid Glance <>
SubjectRe: PATCH: usb-ohci: interrupt out with urb->interval 0
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/

\
 
 \ /
  Last update: 2005-03-22 12:34    [from the cache]
©2003-2008