I wrote:

> Meanwhile, I received this one-line patch which might actually solve the
> problem in question:
> 
... once it's adapted to the latest kernel. Sheesh.

This should compile. It might even work. ;-)

--- drivers/usb/host/ohci-hcd.c 2005-01-05 21:21:53 +01:00
+++ edited/ohci-hcd.c   2005-01-24 19:54:37 +01:00
@@ -373,7 +373,7 @@
                schedule_timeout (1);
                goto rescan;
        case ED_IDLE:           /* fully unlinked */
-               if (list_empty (&ed->td_list)) {
+               if (!HCD_IS_RUNNING(ohci_to_hcd(ohci)->state) || list_empty 
(&ed->td_list)) {
                        td_free (ohci, ed->dummy);
                        ed_free (ohci, ed);
                        break;

-- 
Matthias Urlichs   |   {M:U} IT Design @ m-u-it.de   |  [EMAIL PROTECTED]




-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to