projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
61eded6
)
[PATCH] USB: Kaweth.c udelay patch
author
Guillaume GOURAT /
<guillaume.gourat@nexvision.fr>
Fri, 21 Oct 2005 12:01:35 +0000
(14:01 +0200)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 28 Oct 2005 23:47:49 +0000
(16:47 -0700)
On some arch (like arm) udelay cannot be called with value greater that
2000.
Signed-off-by: Guillaume GOURAT / guillaume.gourat@nexvision.fr
Signed-off-by: Oliver Neukum <oliver@neukum.name>
drivers/usb/net/kaweth.c
patch
|
blob
|
history
diff --git
a/drivers/usb/net/kaweth.c
b/drivers/usb/net/kaweth.c
index c82655d3d448ebf31ff19137cd4b39e3f9ea4965..6bef1be6b36cce979ddeaef7131630d68e657f39 100644
(file)
--- a/
drivers/usb/net/kaweth.c
+++ b/
drivers/usb/net/kaweth.c
@@
-469,7
+469,7
@@
static int kaweth_reset(struct kaweth_device *kaweth)
0,
KAWETH_CONTROL_TIMEOUT);
-
udelay(1000
0);
+
mdelay(1
0);
kaweth_dbg("kaweth_reset() returns %d.",result);