]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6eeb6712ab75f62cc5fea13f95125e5ca4d763c0
tree436109572453656747d6e5b3aec14939b1202ec3
parentae775b7e06e4d07977bd54d299ca2091a167e945
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