summaryrefslogtreecommitdiff
path: root/drivers/net/mdio/mdio-ipq4019.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/mdio/mdio-ipq4019.c')
-rw-r--r--drivers/net/mdio/mdio-ipq4019.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/drivers/net/mdio/mdio-ipq4019.c b/drivers/net/mdio/mdio-ipq4019.c
index 5f4cd24a0241..4eba5a91075c 100644
--- a/drivers/net/mdio/mdio-ipq4019.c
+++ b/drivers/net/mdio/mdio-ipq4019.c
@@ -200,7 +200,11 @@ static int ipq_mdio_reset(struct mii_bus *bus)
if (ret)
return ret;
- return clk_prepare_enable(priv->mdio_clk);
+ ret = clk_prepare_enable(priv->mdio_clk);
+ if (ret == 0)
+ mdelay(10);
+
+ return ret;
}
static int ipq4019_mdio_probe(struct platform_device *pdev)