From 0fba1743c68746de48956fbfb9a934b522ec1682 Mon Sep 17 00:00:00 2001 From: hwg Date: Fri, 28 Mar 2014 13:29:31 +0800 Subject: [PATCH] gmac: add power on delay --- drivers/net/ethernet/rockchip/gmac/stmmac_platform.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/net/ethernet/rockchip/gmac/stmmac_platform.c b/drivers/net/ethernet/rockchip/gmac/stmmac_platform.c index b69ca66df962..144410d07efb 100755 --- 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)) { -- 2.34.1