]> err.no Git - linux-2.6/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)
commiteaafbc3a8adab16babe2c20e54ad3ba40d1fbbc9
treefea84341faf742efe8beeaff03ec94b687b7b26f
parent6b157c9bf3bace6eeb4a973da63923ef24995cce
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