projects
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
60279b5
)
net: sh_eth: Fix checkpatch warning
author
Marek Vasut
<marek.vasut+renesas@gmail.com>
Fri, 16 Feb 2018 23:57:49 +0000
(
00:57
+0100)
committer
Marek Vasut
<marex@denx.de>
Sun, 18 Feb 2018 10:20:18 +0000
(11:20 +0100)
Fix minor checkpatch warning about udelay(3000) being too long
and should be replaced by mdelay(3).
Signed-off-by: Marek Vasut <marek.vasut+renesas@gmail.com>
Cc: Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
Cc: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/sh_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/sh_eth.c
b/drivers/net/sh_eth.c
index 6863aecef96830cdb7bb5f056ecd4565580a5318..1864c894b796ad1209c4ce134f339db830657cdc 100644
(file)
--- a/
drivers/net/sh_eth.c
+++ b/
drivers/net/sh_eth.c
@@
-179,7
+179,7
@@
static int sh_eth_reset(struct sh_eth_dev *eth)
return ret;
#else
sh_eth_write(port_info, sh_eth_read(port_info, EDMR) | EDMR_SRST, EDMR);
-
udelay(3000
);
+
mdelay(3
);
sh_eth_write(port_info,
sh_eth_read(port_info, EDMR) & ~EDMR_SRST, EDMR);