]> git.baikalelectronics.ru Git - kernel.git/commit
USB: make autosuspend delay a module parameter
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 20 Feb 2007 20:00:53 +0000 (15:00 -0500)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 23 Feb 2007 23:03:46 +0000 (15:03 -0800)
commitdf225459f77629d43859f6554723b59565ef8c9d
treeed0f132edc4d050407c4ba0b4582f167db86ba72
parent6de6e4a02ab295a8d4a44599bfbc19b3690d2dcc
USB: make autosuspend delay a module parameter

This patch (as859) makes the default USB autosuspend delay a module
parameter of usbcore.  By setting the delay value at boot time, users
will be able to prevent the system from autosuspending devices which
for some reason can't handle it.

The patch also stores the autosuspend delay as a per-device value.  A
later patch will allow the user to change the value, tailoring the
delay for each individual device.  A delay value of 0 will prevent
autosuspend.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Documentation/kernel-parameters.txt
drivers/usb/core/driver.c
drivers/usb/core/quirks.c
drivers/usb/core/usb.c
drivers/usb/core/usb.h
include/linux/usb.h