Use the non read/modify/write version of the suspend procedure for the
BCM54811 PHY.

Fixes: b0ed0bbfb304 ("net: phy: broadcom: add support for BCM54811 PHY")
Signed-off-by: Florian Fainelli <[email protected]>
---
 drivers/net/phy/broadcom.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/phy/broadcom.c b/drivers/net/phy/broadcom.c
index b33ffd44f799..14980ef44b42 100644
--- a/drivers/net/phy/broadcom.c
+++ b/drivers/net/phy/broadcom.c
@@ -804,7 +804,7 @@ static struct phy_driver broadcom_drivers[] = {
        .config_aneg    = bcm5481_config_aneg,
        .config_intr    = bcm_phy_config_intr,
        .handle_interrupt = bcm_phy_handle_interrupt,
-       .suspend        = genphy_suspend,
+       .suspend        = bcm54xx_suspend,
        .resume         = bcm54xx_resume,
 }, {
        .phy_id         = PHY_ID_BCM5482,
-- 
2.25.1

Reply via email to