]> err.no Git - linux-2.6/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)
commit19c262391c4741b012a5031fc438fb694e77c385
tree1ce81bf30086104f8102b83617d31d998338fbd6
parentdfa87c824a9a5430008acd1ed2e8111ed164fcbe
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