[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <45BFB841.9030200@simon.arlott.org.uk>
Date: Tue, 30 Jan 2007 21:27:29 +0000
From: Simon Arlott <simon@...ott.org>
To: linux-kernel@...r.kernel.org
Subject: [PATCH 2/3] cxacru: Poll for device status more frequently.
The device is only polled for status every 5 seconds yet status updates occur as often as every second - when the line is down the status changes between "down" and "attempting to activate" every 2 seconds.
Signed-off-by: Simon Arlott <simon@...e.lp0.eu>
---
drivers/usb/atm/cxacru.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/usb/atm/cxacru.c b/drivers/usb/atm/cxacru.c
index c1f97a3..a30cd9b 100644
--- a/drivers/usb/atm/cxacru.c
+++ b/drivers/usb/atm/cxacru.c
@@ -64,7 +64,7 @@ #define BR_STACK_ADDR 0x00187f10
#define SDRAM_ENA 0x1
#define CMD_TIMEOUT 2000 /* msecs */
-#define POLL_INTERVAL 5000 /* msecs */
+#define POLL_INTERVAL 500 /* msecs */
/* commands for interaction with the modem through the control channel before
* firmware is loaded */
--
1.4.3.1
--
Simon Arlott (subscribed to lkml, don't CC)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists