Maksim Krasnyanskiy <[EMAIL PROTECTED]> asks:

> HCD and USB core do not unlink URBs on device disconnect because currently 
> it is driver's responsibility.

Not entirely true.  OHCI tries to safeguard against broken drivers,
and in 2.5 anything using the new HCD code in usbcore does the
same safeguarding.  (Such as EHCI ...)  The UHCI drivers may do
things differently.


> Is it valid to assume that if disconnect method is running completion 
> handler for bulk transfers will be called
> _only_ as a result of usb_unlink_urb ? 

As above.  Drivers with disconnect() methods that don't kill all their
outstanding URBs are buggy, in any case.

- Dave



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to