diff options
-rw-r--r-- | drivers/net/phy/amd-xgbe-phy.c | 3 |
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 | ||
998 | static int amd_xgbe_phy_config_init(struct phy_device *phydev) | 999 | static int amd_xgbe_phy_config_init(struct phy_device *phydev) |