Skip to content

Commit b1dd9bf

Browse files
ffainellidavem330
authored andcommitted
net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M
The PHY driver entry for BCM50160 and BCM50610M calls bcm54xx_config_init() but does not call bcm54xx_config_clock_delay() in order to configuration appropriate clock delays on the PHY, fix that. Fixes: 7333362 ("net: phy: Allow BCM5481x PHYs to setup internal TX/RX clock delay") Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 6897087 commit b1dd9bf

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

drivers/net/phy/broadcom.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,10 @@ static int bcm54xx_config_init(struct phy_device *phydev)
342342
bcm54xx_adjust_rxrefclk(phydev);
343343

344344
switch (BRCM_PHY_MODEL(phydev)) {
345+
case PHY_ID_BCM50610:
346+
case PHY_ID_BCM50610M:
347+
err = bcm54xx_config_clock_delay(phydev);
348+
break;
345349
case PHY_ID_BCM54210E:
346350
err = bcm54210e_config_init(phydev);
347351
break;

0 commit comments

Comments
 (0)