summaryrefslogtreecommitdiff
path: root/drivers/net/phy
diff options
context:
space:
mode:
authorMichael Walle <[email protected]>2025-11-27 16:25:27 +0100
committerJerome Forissier <[email protected]>2025-12-01 09:52:33 +0100
commit7c1b99bd60185c24d2c78862c3345895ffcd1d71 (patch)
treed156c6ed049af6cf50b02b4554841336c309ab1f /drivers/net/phy
parent85a7e45c3350afd9f7c17bb0bb2a47aa94be982d (diff)
net: phy: broadcom: fix RGMII delays for BCM54210E
bcm54210e_config() configures the RGMII delays and then calls bcm5461_config(). But the latter will do a PHY soft reset and thus resets the delay settings again. Call bcm5461_config() first to fix it. Fixes: cba79a1b2e11 ("net: phy: broadcom: add support for BCM54210E") Signed-off-by: Michael Walle <[email protected]> Reviewed-by: Rafał Miłecki <[email protected]>
Diffstat (limited to 'drivers/net/phy')
-rw-r--r--drivers/net/phy/broadcom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
index 1c02e3efedc..2d93ce0c966 100644
--- a/drivers/net/phy/broadcom.c
+++ b/drivers/net/phy/broadcom.c
@@ -176,11 +176,11 @@ static int bcm54210e_config(struct phy_device *phydev)
{
int ret;
- ret = bcm54xx_config_clock_delay(phydev);
+ ret = bcm5461_config(phydev);
if (ret < 0)
return ret;
- ret = bcm5461_config(phydev);
+ ret = bcm54xx_config_clock_delay(phydev);
if (ret < 0)
return ret;