]> git.baikalelectronics.ru Git - kernel.git/commit
USB: Allow autosuspend delay to equal 0
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 13 Mar 2007 20:39:15 +0000 (16:39 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Apr 2007 20:28:35 +0000 (13:28 -0700)
commit94d4459697710fb0d1e26da05b22e5cf3becf98b
treefea84341faf742efe8beeaff03ec94b687b7b26f
parent3c265022c7511ea1c37df911c01fea0ded440a31
USB: Allow autosuspend delay to equal 0

This patch (as867) adds an entry for the new power/autosuspend
attribute in Documentation/ABI/testing, and it changes the behavior of
the delay value.  Now a delay of 0 means to autosuspend as soon as
possible, and negative values will prevent autosuspend.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/ABI/testing/sysfs-bus-usb [new file with mode: 0644]
Documentation/kernel-parameters.txt
drivers/usb/core/driver.c
drivers/usb/core/sysfs.c
drivers/usb/core/usb.c
include/linux/usb.h