summaryrefslogtreecommitdiff
path: root/drivers/net/dwc_eth_qos.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2019-12-22 09:13:50 -0500
committerTom Rini <trini@konsulko.com>2019-12-22 09:13:50 -0500
commit1e104ac61f039537c7b683676414b7b7ededc1a8 (patch)
treeee87cb01d104057c94b32ae95c012c69d415b362 /drivers/net/dwc_eth_qos.c
parent643366bcd5e32878a951e39b8b553b794695b026 (diff)
parentc62e6142b95045621fc229d34f40bd8d0e41160a (diff)
Merge branch 'master' of https://gitlab.denx.de/u-boot/custodians/u-boot-net
- Fix phy_connect() call in two drivers - fw_setenv bugfix
Diffstat (limited to 'drivers/net/dwc_eth_qos.c')
-rw-r--r--drivers/net/dwc_eth_qos.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/dwc_eth_qos.c b/drivers/net/dwc_eth_qos.c
index da5b696c9d8..46321116352 100644
--- a/drivers/net/dwc_eth_qos.c
+++ b/drivers/net/dwc_eth_qos.c
@@ -1045,7 +1045,7 @@ static int eqos_start(struct udevice *dev)
* don't need to reconnect/reconfigure again
*/
if (!eqos->phy) {
- eqos->phy = phy_connect(eqos->mii, 0, dev,
+ eqos->phy = phy_connect(eqos->mii, -1, dev,
eqos->config->interface(dev));
if (!eqos->phy) {
pr_err("phy_connect() failed");