浏览代码

[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>
Guillaume GOURAT / 19 年之前
父节点
当前提交
f2d45cd976
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      drivers/usb/net/kaweth.c

+ 1 - 1
drivers/usb/net/kaweth.c

@@ -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);