summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqctecmdr <qctecmdr@localhost>2020-01-26 01:42:49 -0800
committerGerrit - the friendly Code Review server <code-review@localhost>2020-01-26 01:42:49 -0800
commita407b46367aa6c80435b8ccafd941d4222e333a9 (patch)
treebb17fbbdd277a38f9da33c5915276be972d7c219
parent48255b9204542f5e4323bbaee2902c0739b05d84 (diff)
parenta295f66e1ac7d51650f9a4602cf76d5c6b858f9e (diff)
downloaddata-kernel-a407b46367aa6c80435b8ccafd941d4222e333a9.tar.gz
Merge "data-kernel: emac: Add delay after phy reset"
-rw-r--r--drivers/emac-dwc-eqos/DWC_ETH_QOS_platform.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/emac-dwc-eqos/DWC_ETH_QOS_platform.c b/drivers/emac-dwc-eqos/DWC_ETH_QOS_platform.c
index a7b8371..877a703 100644
--- a/drivers/emac-dwc-eqos/DWC_ETH_QOS_platform.c
+++ b/drivers/emac-dwc-eqos/DWC_ETH_QOS_platform.c
@@ -1480,6 +1480,8 @@ static int DWC_ETH_QOS_init_gpios(struct device *dev)
gpio_set_value(dwc_eth_qos_res_data.gpio_phy_reset, PHY_RESET_GPIO_HIGH);
EMACDBG("PHY is out of reset successfully\n");
+ /* Add delay of 50ms so that phy should get sufficient time*/
+ mdelay(50);
}
return ret;