projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e7de6f7
)
gmac: add power on delay
author
hwg
<hwg@rock-chips.com>
Fri, 28 Mar 2014 05:29:31 +0000
(13:29 +0800)
committer
hwg
<hwg@rock-chips.com>
Fri, 28 Mar 2014 05:31:15 +0000
(13:31 +0800)
drivers/net/ethernet/rockchip/gmac/stmmac_platform.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/rockchip/gmac/stmmac_platform.c
b/drivers/net/ethernet/rockchip/gmac/stmmac_platform.c
index b69ca66df9626d36f921f612f976cb95b2d3ff6c..144410d07efb5cdc8afd25cf6dffdc5501dd0ba7 100755
(executable)
--- a/
drivers/net/ethernet/rockchip/gmac/stmmac_platform.c
+++ b/
drivers/net/ethernet/rockchip/gmac/stmmac_platform.c
@@
-95,6
+95,7
@@
static int phy_power_on(struct plat_stmmacenet_data *plat, int enable)
msleep(10);
gpio_direction_output(bsp_priv->reset_io, !bsp_priv->reset_io_level);
}
+ msleep(100);
} else {
//power off
if (gpio_is_valid(bsp_priv->power_io)) {