ethernet:gmac: fix the bug that rtl8201F attach failed when clock input from rk SoC
authorcz <cz@rock-chips.com>
Thu, 9 Oct 2014 10:19:31 +0000 (18:19 +0800)
committercz <cz@rock-chips.com>
Thu, 9 Oct 2014 10:20:22 +0000 (18:20 +0800)
drivers/net/ethernet/rockchip/gmac/stmmac_platform.c

index ad11b948ee7e0f2c88e20a7f6ef2f3b917538ac9..2cbf73881d0a3c068916e72b4b714c14526327f4 100755 (executable)
@@ -244,7 +244,7 @@ static int gmac_clk_enable(bool enable) {
                        if (!IS_ERR(bsp_priv->clk_mac))
                                clk_prepare_enable(bsp_priv->clk_mac);
 
-
+                       mdelay(5);
                        bsp_priv->clk_enable = true;
                }
        } else {