diff options
Diffstat (limited to 'target/linux/coldfire/patches/025-m5445x_usb_autosuspend_delay.patch')
-rw-r--r-- | target/linux/coldfire/patches/025-m5445x_usb_autosuspend_delay.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/target/linux/coldfire/patches/025-m5445x_usb_autosuspend_delay.patch b/target/linux/coldfire/patches/025-m5445x_usb_autosuspend_delay.patch new file mode 100644 index 000000000..39f4e6a38 --- /dev/null +++ b/target/linux/coldfire/patches/025-m5445x_usb_autosuspend_delay.patch @@ -0,0 +1,22 @@ +From 2ff438b85bd3f34f31886883d9dacbd15bc16df8 Mon Sep 17 00:00:00 2001 +From: Bruce Schmid <duck@freescale.com> +Date: Tue, 4 Dec 2007 11:30:14 -0700 +Subject: [PATCH] USB: restore usb_autosuspend_delay + +LTIBName: m5445x-usb-autosuspend-delay +Signed-off-by: Duck <duck@freescale.com> +--- + drivers/usb/core/usb.c | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +--- a/drivers/usb/core/usb.c ++++ b/drivers/usb/core/usb.c +@@ -52,7 +52,7 @@ static int nousb; /* Disable USB when bu + struct workqueue_struct *ksuspend_usb_wq; + + #ifdef CONFIG_USB_SUSPEND +-static int usb_autosuspend_delay = -1; /* Default delay value, ++static int usb_autosuspend_delay = 2; /* Default delay value, + * in seconds */ + module_param_named(autosuspend, usb_autosuspend_delay, int, 0644); + MODULE_PARM_DESC(autosuspend, "default autosuspend delay"); |