Skip to content

Commit

Permalink
[PATCH] USB: Kaweth.c udelay patch
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guillaume GOURAT / authored and Greg Kroah-Hartman committed Oct 28, 2005
1 parent 61eded6 commit f2d45cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/net/kaweth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit f2d45cd

Please sign in to comment.