On Sun, 27 Jul 2003, David Brownell wrote:
> 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) {
I have already sent in a patch for this, and it has been approved although
not yet applied -- Greg K-H is busy at the OLS. See
http://sourceforge.net/mailarchive/forum.php?thread_id=2806560&forum_id=5398
Alan Stern
-------------------------------------------------------
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