diff options
author | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:19:10 -0600 |
---|---|---|
committer | Quinn Jensen <quinn.jensen@freescale.com> | 2007-10-24 21:19:10 -0600 |
commit | aadb9eee639d4e01ace4ea94cd499080ae8a453b (patch) | |
tree | 7cef819e3a00a08b54c1f26c7ac524490a2bcbe5 | |
parent | 07f5bd7a7ca1cc269ecff76c0e89f868bc13019a (diff) |
USB: disable autosuspend.
Patch to disable USB autosuspend.
Autosuspend tries to suspend the host controller even
after it's been switched over to being a gadget controller,
which doesn't do much for gadget operations. Disable it.
Applies to linux 2.6.22 kernel for MX platforms.
http://www.bitshrine.org/gpp/linux-2.6.22-mx-USB-disable-autosuspend.patch
-rw-r--r-- | drivers/usb/core/usb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/core/usb.c b/drivers/usb/core/usb.c index 4a6299bd0047..12918839c2f1 100644 --- a/drivers/usb/core/usb.c +++ b/drivers/usb/core/usb.c @@ -52,7 +52,7 @@ static int nousb; /* Disable USB when built into kernel image */ struct workqueue_struct *ksuspend_usb_wq; #ifdef CONFIG_USB_SUSPEND -static int usb_autosuspend_delay = 2; /* Default delay value, +static int usb_autosuspend_delay = -1; /* Default delay value, * in seconds */ module_param_named(autosuspend, usb_autosuspend_delay, int, 0644); MODULE_PARM_DESC(autosuspend, "default autosuspend delay"); |