aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/net/phy/amd-xgbe-phy.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/net/phy/amd-xgbe-phy.c b/drivers/net/phy/amd-xgbe-phy.c
index c456559f6e7f..37b9f3fff1ce 100644
--- a/drivers/net/phy/amd-xgbe-phy.c
+++ b/drivers/net/phy/amd-xgbe-phy.c
@@ -992,7 +992,8 @@ static int amd_xgbe_phy_soft_reset(struct phy_device *phydev)
992 if (ret & MDIO_CTRL1_RESET) 992 if (ret & MDIO_CTRL1_RESET)
993 return -ETIMEDOUT; 993 return -ETIMEDOUT;
994 994
995 return 0; 995 /* Make sure the XPCS and SerDes are in compatible states */
996 return amd_xgbe_phy_xgmii_mode(phydev);
996} 997}
997 998
998static int amd_xgbe_phy_config_init(struct phy_device *phydev) 999static int amd_xgbe_phy_config_init(struct phy_device *phydev)