All of lore.kernel.org
 help / color / mirror / Atom feed
From: Simon Arlott <simon@arlott.org>
To: linux-kernel@vger.kernel.org
Subject: [PATCH 2/3] cxacru: Poll for device status more frequently.
Date: Tue, 30 Jan 2007 21:27:29 +0000	[thread overview]
Message-ID: <45BFB841.9030200@simon.arlott.org.uk> (raw)

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@fire.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)

             reply	other threads:[~2007-01-30 21:35 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-30 21:27 Simon Arlott [this message]
2007-01-31 14:27 ` [PATCH 2/3] cxacru: Poll for device status more frequently Duncan Sands
2007-01-31 17:46   ` Simon Arlott
2007-01-31 18:15     ` Duncan Sands
2007-02-11 16:39       ` Simon Arlott

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=45BFB841.9030200@simon.arlott.org.uk \
    --to=simon@arlott.org \
    --cc=3d1f88d2534993eb311hc0vm0003uvpw@thunder.lp0.eu \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.