Brad Hards wrote:
Debug: sleeping function called from invalid context at drivers/usb/core/hcd.c:1350
Call Trace:
 [<c011c61e>] __might_sleep+0x5e/0x62
 [<c03529db>] hcd_endpoint_disable+0xeb/0x260
 [<c03528f0>] hcd_endpoint_disable+0x0/0x260
 [<c034cd1a>] nuke_urbs+0x4a/0x60
 [<c034da12>] usb_disconnect+0xa2/0x140

A small oversight, try this:


--- 1.68/drivers/usb/core/hcd.c Tue Jul 15 09:47:16 2003
+++ edited/drivers/usb/core/hcd.c       Thu Jul 24 23:34:01 2003
@@ -1319,6 +1319,7 @@
                if (tmp == -EINPROGRESS)
                        urb->status = -ESHUTDOWN;
                spin_unlock (&urb->lock);
+               local_irq_restore (flags);

                /* kick hcd unless it's already returning this */
                if (tmp == -EINPROGRESS) {





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to