net: stmmac: Enable mac_managed_pm phylink config
authorShenwei Wang <shenwei.wang@nxp.com>
Fri, 14 Oct 2022 14:47:29 +0000 (09:47 -0500)
committerDavid S. Miller <davem@davemloft.net>
Sat, 15 Oct 2022 10:51:52 +0000 (11:51 +0100)
commitf151c147b3afcf92dedff53f5f0e965414e4fd2c
treedbd8cda5c9f7ba7583383355803725118412fb33
parent96de900ae78e7dbedc937fd91bafe2934579c65a
net: stmmac: Enable mac_managed_pm phylink config

Enable the mac_managed_pm configuration in the phylink_config
structure to avoid the kernel warning during system resume.

Fixes: 744d23c71af3 ("net: phy: Warn about incorrect mdio_bus_phy_resume() state")
Signed-off-by: Shenwei Wang <shenwei.wang@nxp.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c