Revert "net: stmmac: Enable mac_managed_pm phylink config"
This reverts commit 67a03645dc1dc797caefdd862a4f10c8136986ca which is
commit f151c147b3afcf92dedff53f5f0e965414e4fd2c upstream.
It breaks the Android kernel build and is not needed as part of the
normal Android GKI kernel build, so can be safely reverted.
Bug: 161946584
Change-Id: I4abf5fd61b9e23baa5103e41afdb1f12806b779b
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
index cd92b8e..a5cbb49 100644
--- a/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
+++ b/drivers/net/ethernet/stmicro/stmmac/stmmac_main.c
@@ -1286,8 +1286,6 @@ static int stmmac_phy_setup(struct stmmac_priv *priv)
if (!fwnode)
fwnode = dev_fwnode(priv->device);
- priv->phylink_config.mac_managed_pm = true;
-
phylink = phylink_create(&priv->phylink_config, fwnode,
mode, &stmmac_phylink_mac_ops);
if (IS_ERR(phylink))