]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit105f93a00fbf18e0af7efaf9f5330cc0415ddb7c
treedbd8cda5c9f7ba7583383355803725118412fb33
parent238f3397d1dcb9b3d1378408039e11c72126afcd
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: 4faafe4a276b ("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