On Thu, 29 Jul 2004, Greg KH wrote:

> On Thu, Jul 29, 2004 at 10:59:09AM -0700, Pete Zaitcev wrote:
> > 
> > The patch attached to OSDL 3108 does not look good to me. The right
> > approach would be to do usb_dev_get to prevent disconnect from pulling
> > things from under you, then submit URBs.
> 
> I agree.

Remember also that disconnect() occuring while an URB is active will cause 
the URB to be aborted.  So it ought to be enough to unlock the device 
before submitting the URB.

Alan Stern



-------------------------------------------------------
This SF.Net email is sponsored by OSTG. Have you noticed the changes on
Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now,
one more big change to announce. We are now OSTG- Open Source Technology
Group. Come see the changes on the new OSTG site. www.ostg.com
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to