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>
Showing
- drivers/usb/core/devio.c 8 additions, 3 deletionsdrivers/usb/core/devio.c
- drivers/usb/core/generic.c 2 additions, 5 deletionsdrivers/usb/core/generic.c
- drivers/usb/core/message.c 7 additions, 3 deletionsdrivers/usb/core/message.c
- drivers/usb/usb-skeleton.c 11 additions, 0 deletionsdrivers/usb/usb-skeleton.c
Loading
Please register or sign in to comment