]> git.itanic.dy.fi Git - linux-stable/blobdiff - drivers/net/ethernet/renesas/ravb_main.c
net: ravb: Fix PHY state warning splat during system resume
[linux-stable] / drivers / net / ethernet / renesas / ravb_main.c
index b357ac4c56c599ad4a73ad8670228fc9fec77722..7e32b04eb0c756cb7d00a50ee866ec0d324951cf 100644 (file)
@@ -1449,6 +1449,8 @@ static int ravb_phy_init(struct net_device *ndev)
                phy_remove_link_mode(phydev, ETHTOOL_LINK_MODE_100baseT_Half_BIT);
        }
 
+       /* Indicate that the MAC is responsible for managing PHY PM */
+       phydev->mac_managed_pm = true;
        phy_attached_info(phydev);
 
        return 0;