mirror of
https://gitee.com/open-loongarch/linux-6.12.git
synced 2026-10-25 20:47:11 +08:00
Revert "net: phy: motor yt8531 add soft reset func"
This reverts commit 9d4f7df5bb4f327c46c340436487c5ea335e48b1. Signed-off-by: maoxiaochuan <maoxiaochuan@loongson.cn>
This commit is contained in:
@@ -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),
|
||||
|
||||
Reference in New Issue
Block a user