Revert "net: macb: Specify PHY PM management done by MAC"
This reverts commit 18c60b383df3d7e36f7330e9092da87a87523c0e which is
commit 15a9dbec631cd69dfbbfc4e2cbf90c9dd8432a8f upstream.
It required commit 744d23c71af3 ("net: phy: Warn about incorrect
mdio_bus_phy_resume() state") which was reverted from the Android kernel
tree due to it breaking the ABI, so this change too is not needed.
Bug: 161946584
Change-Id: I1874d1891f515e07a2b2b3cfa6fb811f4c33af15
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/drivers/net/ethernet/cadence/macb_main.c b/drivers/net/ethernet/cadence/macb_main.c
index 61efb23..3ca3f9d 100644
--- a/drivers/net/ethernet/cadence/macb_main.c
+++ b/drivers/net/ethernet/cadence/macb_main.c
@@ -880,7 +880,6 @@ static int macb_mii_probe(struct net_device *dev)
bp->phylink_config.dev = &dev->dev;
bp->phylink_config.type = PHYLINK_NETDEV;
- bp->phylink_config.mac_managed_pm = true;
if (bp->phy_interface == PHY_INTERFACE_MODE_SGMII) {
bp->phylink_config.poll_fixed_state = true;