On Thu, 27 Jul 2006, Alan Stern wrote:

> The real problem was this: hcd_endpoint_disable() relies on 
> hcd->driver->endpoint_disable() to wait until all URBs for an endpoint 
> have completed.  Normally that's fine, but it doesn't work with URBs for 
> endpoints on the root hub -- because these URBs never go through the 
> hcd->driver->enqueue() pathway to begin with.
> 
> So we needed another way to wait for them.  My solution was to wait in 
> usb_rh_urb_dequeue().  Maybe there's a better way.

Have you thought about the best way to make hcd_endpoint_disable() wait
for root-hub URBs?

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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