mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2024-12-29 18:15:12 +02:00
343c185b7d
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16547 3c298f89-4303-0410-b956-a3cf2f4a3e73
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");
|