Am Mittwoch, 2. Mai 2007 23:14 schrieb Alan Stern:
> On Wed, 2 May 2007, Oliver Neukum wrote:
>
> > 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.
>
> We could; it would save drivers the trouble of keeping track of their own
> URBs. Do you have a particular driver in mind for this?
Everything derived from newer versions of the skeleton driver.
> One change would be needed, though. Right now usb_enable_interface()
> resets all the saved endpoint toggle values; we wouldn't want to do that
> when resuming.
OK.
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/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel