From 42fcf753aca66073754f2c565d7b27368d6b6747 Mon Sep 17 00:00:00 2001 From: tao89959 <1036524114@qq.com> Date: Mon, 23 Mar 2026 17:17:11 +0800 Subject: [PATCH] Revert "net: phy: motor yt8531 add soft reset func" This reverts commit 9d4f7df5bb4f327c46c340436487c5ea335e48b1. Signed-off-by: maoxiaochuan --- drivers/net/phy/motorcomm.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/drivers/net/phy/motorcomm.c b/drivers/net/phy/motorcomm.c index 1232380d2..9581c86f8 100644 --- a/drivers/net/phy/motorcomm.c +++ b/drivers/net/phy/motorcomm.c @@ -1594,12 +1594,6 @@ 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 @@ -2969,7 +2963,6 @@ 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),