projects
/
platform
/
kernel
/
linux-3.10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8dd0ec
)
DM9000: Add missing msleep() in EEPROM wait code.
author
Ben Dooks
<ben-linux@fluff.org>
Tue, 24 Jun 2008 21:16:05 +0000
(22:16 +0100)
committer
Jeff Garzik
<jgarzik@redhat.com>
Wed, 25 Jun 2008 02:58:17 +0000
(22:58 -0400)
The msleep() call in the code that checks for the
EEPROM controller's busy status was missing.
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/dm9000.c
patch
|
blob
|
history
diff --git
a/drivers/net/dm9000.c
b/drivers/net/dm9000.c
index
5ad2ec5
..
9223340
100644
(file)
--- a/
drivers/net/dm9000.c
+++ b/
drivers/net/dm9000.c
@@
-343,6
+343,8
@@
static int dm9000_wait_eeprom(board_info_t *db)
if ((status & EPCR_ERRE) == 0)
break;
+ msleep(1);
+
if (timeout-- < 0) {
dev_dbg(db->dev, "timeout waiting EEPROM\n");
break;