On Sun, 24 Jul 2005 22:32:31 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote:
> On Mon, 25 Jul 2005, Prabhakar Kalasani wrote:

> >  also the same problem happens when transfers are 
> > being cancelled from usb_sg_cancel( again in usb/core/message.c), the same 
> > spin_lock problem will happen if I call urb->complete routine for the urb 
> > being removed.
> 
> What spinlock problem?  Whatever the problem is, maybe it won't occur if 
> you don't call urb->complete.  After all, you're not supposed to call 
> urb->complete; the system calls it for you.

By the looks of it, he has a defective HCD which ignores the ASYNC_UNLINK
transport flag and attempts to do callbacks from the unlinking context,
which obviously deadlocks.

-- Pete


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to