aboutsummaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorGuillaume GOURAT / <guillaume.gourat@nexvision.fr>2005-10-21 14:01:35 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 16:47:49 -0700
commitf2d45cd976682a3566c8cf30cefe91eb43ab6005 (patch)
tree325133a80bc8a2b6ce826ac7caa930d19825bbc1 /drivers
parent61eded6e06a1f4bdbf707b69da904ba9f3eb2f0a (diff)
[PATCH] USB: Kaweth.c udelay patch
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>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/usb/net/kaweth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/net/kaweth.c b/drivers/usb/net/kaweth.c
index c82655d3d44..6bef1be6b36 100644
--- 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(10000);
+ mdelay(10);
kaweth_dbg("kaweth_reset() returns %d.",result);