]> 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)
commitc340ce9b007cbbbe0b67bf5ed1c181236f5f6938
treedbd8cda5c9f7ba7583383355803725118412fb33
parentb7cc693a62adc223ab8ea8cec673709a9fff85c6
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: 9c06e0bd91d7 ("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