USB: add power/level sysfs attribute
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 20 Mar 2007 18:59:39 +0000 (14:59 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:37 +0000 (13:28 -0700)
commit2add5229d77a3de08015feef437653e02372162f
tree436109572453656747d6e5b3aec14939b1202ec3
parent13f6be01db9ada144f28241f939f4f3f8ec8e40b
USB: add power/level sysfs attribute

This patch (as874) adds another piece to the user-visible part of the
USB autosuspend interface.  The new power/level sysfs attribute allows
users to force the device on (with autosuspend off), force the device
to sleep (with autoresume off), or return to normal automatic operation.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/ABI/testing/sysfs-bus-usb
drivers/usb/core/driver.c
drivers/usb/core/quirks.c
drivers/usb/core/sysfs.c
include/linux/usb.h