mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
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: cba79a1b2e ("net: phy: broadcom: add support for BCM54210E")
Signed-off-by: Michael Walle <mwalle@kernel.org>
Reviewed-by: Rafał Miłecki <rafal@milecki.pl>
This commit is contained in:
committed by
Jerome Forissier
parent
85a7e45c33
commit
7c1b99bd60
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user