[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>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
61eded6e06
commit
f2d45cd976
@@ -469,7 +469,7 @@ static int kaweth_reset(struct kaweth_device *kaweth)
|
|||||||
0,
|
0,
|
||||||
KAWETH_CONTROL_TIMEOUT);
|
KAWETH_CONTROL_TIMEOUT);
|
||||||
|
|
||||||
udelay(10000);
|
mdelay(10);
|
||||||
|
|
||||||
kaweth_dbg("kaweth_reset() returns %d.",result);
|
kaweth_dbg("kaweth_reset() returns %d.",result);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user