Revert "net: macb: Specify PHY PM management done by MAC"

This reverts commit 18c60b383d 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>
This commit is contained in:
Greg Kroah-Hartman
2022-12-07 20:01:52 +00:00
parent 845a2cc2e8
commit 7048384c98

View File

@@ -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;