]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] usbcore: port reset for composite devices
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 1 Jun 2006 17:33:42 +0000 (13:33 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:15 +0000 (15:04 -0700)
commit79efa097e75018a2918155f343f0e08e61ee8a8c
tree336237ca96191aeb9cac6ed8706bc479545f3108
parentefcaa20525fde82bbb4fb8cd9e9016f6fabc6509
[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>
drivers/usb/core/devio.c
drivers/usb/core/hub.c
drivers/usb/core/usb.c
include/linux/usb.h