]> git.baikalelectronics.ru Git - kernel.git/commit
USB: export autosuspend delay in sysfs
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 20 Feb 2007 20:03:32 +0000 (15:03 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 23:03:47 +0000 (15:03 -0800)
commitde1619b9afea7fc16c017fbcc4df6054d14e6deb
tree1ce81bf30086104f8102b83617d31d998338fbd6
parentcf12841bde85112fbf00361fd2ed2372aa78e390
USB: export autosuspend delay in sysfs

This patch (as861) adds sysfs attributes to expose the autosuspend
delay value for each USB device.  If the user changes the delay from 0
(no autosuspend) to a positive value, an autosuspend is attempted.

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