]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
net: stmmac: Enable mac_managed_pm phylink config
authorShenwei Wang <shenwei.wang@nxp.com>
Sat, 3 Aug 2024 11:30:44 +0000 (19:30 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 19 Aug 2024 03:45:50 +0000 (05:45 +0200)
commit67a03645dc1dc797caefdd862a4f10c8136986ca
treea659bc064e3ae662c0be2512bbe36dd49b4555f1
parent8246b7466c8da49d0d9e85e26cbd69dd6d3e3d1e
net: stmmac: Enable mac_managed_pm phylink config

commit f151c147b3afcf92dedff53f5f0e965414e4fd2c upstream

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>
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c