[PATCH] USB: Kaweth.c udelay patch
authorGuillaume GOURAT / <guillaume.gourat@nexvision.fr>
Fri, 21 Oct 2005 12:01:35 +0000 (14:01 +0200)
committerGreg 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

index c82655d3d448ebf31ff19137cd4b39e3f9ea4965..6bef1be6b36cce979ddeaef7131630d68e657f39 100644 (file)
@@ -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);