Revert "Revert "net: phy: broadcom: Fix RGMII delays for BCM50160 and BCM50610M""

This reverts commit d649abddc6 as the kabi
can be updated at this point in time.

Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
Change-Id: If3cfa88d7dae66f6303c9d66e16f4871edc41321
This commit is contained in:
Greg Kroah-Hartman
2021-04-05 11:17:48 +02:00
committed by Todd Kjos
parent ccd273758c
commit fa5fc9f474

View File

@@ -340,6 +340,10 @@ static int bcm54xx_config_init(struct phy_device *phydev)
bcm54xx_adjust_rxrefclk(phydev);
switch (BRCM_PHY_MODEL(phydev)) {
case PHY_ID_BCM50610:
case PHY_ID_BCM50610M:
err = bcm54xx_config_clock_delay(phydev);
break;
case PHY_ID_BCM54210E:
err = bcm54210e_config_init(phydev);
break;