diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c index 688679457ef9..dcba50007451 100644 --- a/drivers/net/phy/motorcomm.c +++ b/drivers/net/phy/motorcomm.c @@ -1697,6 +1697,11 @@ static int yt8521_config_init(struct phy_device *phydev) if (ret < 0) goto err_restore_page; } + + if (phy_interface_is_rgmii(phydev) && + phydev_id_compare(phydev, PHY_ID_YT8531S)) + ret = yt8531_set_ds(phydev); + err_restore_page: return phy_restore_page(phydev, old_page, ret); }