]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB: Support unbinding of the usb_generic driver
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 11 Aug 2005 19:50:32 +0000 (15:50 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 23:28:22 +0000 (16:28 -0700)
commit3b4d7f79164853e10342d707e32307e0c8054982
tree6413fc59dacef3d757f06252f57fdb3c153d1a8f
parent3ea15966ed59f2bc20928c7b0496b4585f6de206
[PATCH] USB: Support unbinding of the usb_generic driver

This patch (as556) adds support for unbinding the usb_generic "driver".
That driver only binds to USB devices, as opposed to interfaces, and it
does nothing much besides marking which struct device's go with an
overall USB device plus providing suspend/resume methods.  Now that
users can unbind drivers at will using the sysfs "unbind" attribute, we
need a rational way of dealing with USB devices that are no longer under
full control of the USB stack.  The patch handles this by unconfiguring
the device, thereby removing all the interfaces and their associated
drivers and children.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/core/usb.c