]> git.baikalelectronics.ru Git - kernel.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)
commitdfca450b0da67727b8e24e1b914c98cd4baefd12
tree336237ca96191aeb9cac6ed8706bc479545f3108
parentb4b9a2c289221356f0ead6cb9d10ac7ae5941f75
[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