Am Mittwoch, 2. Mai 2007 16:15 schrieb Alan Stern:
> On Wed, 2 May 2007, Oliver Neukum wrote:
> 
> > Hi,
> > 
> > I was looking at the skeleton driver. It drops any reference to its
> > URBs in the write path. This means they cannot be killed in
> > suspend(). Is this an actual requirement. It seems to me that one
> > could let them error out when the system goes into actual
> > suspension.
> > I am unsure whether this is wise.
> 
> The URBs should be killed.  Allowing them to fail might or might not work,
> but it isn't a good idea.

How about exporting usb_disable_interface() and usb_enable_interface()?
It doesn't solve the problem for endpoint 0, but this case is rare.

        Regards
                Oliver

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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