gmac: add power on delay
authorhwg <hwg@rock-chips.com>
Fri, 28 Mar 2014 05:29:31 +0000 (13:29 +0800)
committerhwg <hwg@rock-chips.com>
Fri, 28 Mar 2014 05:31:15 +0000 (13:31 +0800)
drivers/net/ethernet/rockchip/gmac/stmmac_platform.c

index b69ca66df9626d36f921f612f976cb95b2d3ff6c..144410d07efb5cdc8afd25cf6dffdc5501dd0ba7 100755 (executable)
@@ -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)) {