mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 17:18:59 +00:00
c49f135f72
SVN-Revision: 16547
23 lines
841 B
Diff
23 lines
841 B
Diff
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");
|