mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 15:27:29 +00:00
[PATCH] usbcore: port reset for composite devices
This patch (as699) adds usb_reset_composite_device(), a routine for sending a USB port reset to a device with multiple interfaces owned by different drivers. Drivers are notified about impending and completed resets through two new methods in the usb_driver structure. The patch modifieds the usbfs ioctl code to make it use the new routine instead of usb_reset_device(). Follow-up patches will modify the hub, usb-storage, and usbhid drivers so they can utilize this new API. Signed-off-by: Alan Stern <stern@rowland.harvard.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
efcaa20525
commit
79efa097e7
4 changed files with 92 additions and 5 deletions
|
@ -1207,6 +1207,7 @@ EXPORT_SYMBOL(usb_ifnum_to_if);
|
|||
EXPORT_SYMBOL(usb_altnum_to_altsetting);
|
||||
|
||||
EXPORT_SYMBOL(usb_reset_device);
|
||||
EXPORT_SYMBOL(usb_reset_composite_device);
|
||||
|
||||
EXPORT_SYMBOL(__usb_get_extra_descriptor);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue