]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] USB hub: use usb_reset_composite_device
authorAlan Stern <stern@rowland.harvard.edu>
Thu, 1 Jun 2006 17:37:24 +0000 (13:37 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 21 Jun 2006 22:04:15 +0000 (15:04 -0700)
commit7de18d8bf4b470752e799e219b38b6dff4b49993
treebb48636199b616fa578a93917295dcb99c8f7886
parent79efa097e75018a2918155f343f0e08e61ee8a8c
[PATCH] USB hub: use usb_reset_composite_device

This patch (as700) modifies the hub driver to take advantage of the new
usb_reset_composite_device API.  The existing code had special-case
calls stuck into usb_reset_device, just before and after the reset.
With the new version there's no need for special-case stuff; it all
happens naturally in the form of pre_reset and post_reset notifications.

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