OHCI: add auto-stop support
authorAlan Stern <stern@rowland.harvard.edu>
Tue, 26 Sep 2006 18:46:16 +0000 (14:46 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 28 Sep 2006 22:36:46 +0000 (15:36 -0700)
commit8d1a243ba5dda5c1a3cca5df8fb19ab8b138f074
treec9be9a9d8d4f5477a47bfc5f8a6f612a0c4867ca
parent1f7e1a3b7e05c833229c4b6e9d3c96262df59e99
OHCI: add auto-stop support

This patch (as790b) adds "autostop" support to ohci-hcd: the driver
will automatically stop the host controller when no devices have been
connected for at least one second.  This feature is useful when the
USB autosuspend facility isn't available, such as when
CONFIG_USB_SUSPEND hasn't been set.

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/host/ohci-hcd.c
drivers/usb/host/ohci-hub.c
drivers/usb/host/ohci.h