diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c index 9581c86f8..1232380d2 100644 --- a/drivers/net/phy/motorcomm.c +++ b/drivers/net/phy/motorcomm.c @@ -1594,6 +1594,12 @@ static int yt8521_soft_reset(struct phy_device *phydev) return yt8521_modify_utp_fiber_bmcr(phydev, 0, BMCR_RESET); } +static int yt8531_soft_reset(struct phy_device *phydev) +{ + mdelay(500); + return 0; +} + /** * yt8521_suspend() - suspend the hardware * @phydev: a pointer to a &struct phy_device @@ -2963,6 +2969,7 @@ static struct phy_driver motorcomm_phy_drvs[] = { .get_wol = ytphy_get_wol, .set_wol = yt8531_set_wol, .link_change_notify = yt8531_link_change_notify, + .soft_reset = yt8531_soft_reset, }, { PHY_ID_MATCH_EXACT(PHY_ID_YT8531S),