On Wed, May 24, 2006 at 04:04:02PM -0400, Alan Stern wrote:
> Here is a patch that adds a new routine to usbcore: 
> usb_reset_composite_device().  The routine is a wrapper around 
> usb_reset_device(), but before doing the reset it warns all drivers bound 
> to the affected device, and after the reset it lets them know that the 
> reset is finished.
> 
> These notifications are sent by means of two new methods added to
> usb_driver: pre_reset and post_reset.  Drivers that don't implement the
> methods won't notice anything different.

Why not just use the suspend and resume methods we have now as you will
be doing the same thing in these callbacks?

thanks,

greg k-h


-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
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