Skip to content

Commit e689673

Browse files
Christophe Roullierfourmone
authored andcommitted
net: stmmac: Disable mac_managed_pm phylink config
Due to regression in suspend/resume for stm32mp13 DK (sometime no IP address after resume) Put in false mac_managed_pm to indicate that MAC driver do not manages PHY PM. Fixes: f151c14 ("net: stmmac: Enable mac_managed_pm phylink config") Signed-off-by: Christophe Roullier <christophe.roullier@st.com> Change-Id: I700aac71f85335a722b5a6a77fdbc9359a8f31ff Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/312665 Reviewed-by: Alexandre TORGUE <alexandre.torgue@foss.st.com> ACI: CITOOLS <MDG-smet-aci-reviews@list.st.com> ACI: CIBUILD <MDG-smet-aci-builds@list.st.com> Domain-Review: Alexandre TORGUE <alexandre.torgue@foss.st.com>
1 parent e9146af commit e689673

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1238,7 +1238,7 @@ static int stmmac_phy_setup(struct stmmac_priv *priv)
12381238
if (priv->plat->tx_queues_to_use > 1)
12391239
priv->phylink_config.mac_capabilities &=
12401240
~(MAC_10HD | MAC_100HD | MAC_1000HD);
1241-
priv->phylink_config.mac_managed_pm = true;
1241+
priv->phylink_config.mac_managed_pm = false;
12421242

12431243
phylink = phylink_create(&priv->phylink_config, fwnode,
12441244
mode, &stmmac_phylink_mac_ops);

0 commit comments

Comments
 (0)