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 <mwalle@kernel.org>
Reviewed-by: Rafał Miłecki <rafal@milecki.pl>
{
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;