From: Guillaume GOURAT / Date: Fri, 21 Oct 2005 12:01:35 +0000 (+0200) Subject: [PATCH] USB: Kaweth.c udelay patch X-Git-Tag: v2.6.15-rc1~731^2~16^2~1^2~22 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=f2d45cd976682a3566c8cf30cefe91eb43ab6005;p=linux-2.6-omap-h63xx.git [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 --- 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);