Re: requirements for suspend()

Oliver Neukum <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
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/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.