usbcore: non-hub-specific uses of autosuspend
authorAlan Stern <stern@rowland.harvard.edu>
Wed, 30 Aug 2006 19:47:18 +0000 (15:47 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 27 Sep 2006 18:58:57 +0000 (11:58 -0700)
commit01d883d44a1ca8dc77486635d428cba63e7fdadf
tree447a4293b2ec4dfa1b3d03a46a3a33498809f0e8
parent645daaab0b6adc35c1838df2a82f9d729fdb1767
usbcore: non-hub-specific uses of autosuspend

This patch (as741) makes the non-hub parts of usbcore actually use the
autosuspend facilities added by an earlier patch.

Devices opened through usbfs are autoresumed and then
autosuspended upon close.

Likewise for usb-skeleton.

Devices are autoresumed for usb_set_configuration.

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/generic.c
drivers/usb/core/message.c
drivers/usb/usb-skeleton.c