mirror of
https://github.com/torvalds/linux.git
synced 2026-11-28 09:22:27 +00:00
Commit744d23c71a("net: phy: Warn about incorrect mdio_bus_phy_resume() state") unveiled that the smsc911x driver was not properly stopping and restarting the PHY during suspend/resume. Correct that by indicating that the MAC is in charge of PHY PM operations and ensure that all MDIO bus activity is quiescent during suspend. Tested-by: Geert Uytterhoeven <[email protected]> Tested-by: Marek Szyprowski <[email protected]> Fixes:fba863b816("net: phy: make PHY PM ops a no-op if MAC driver manages PHY PM") Fixes:2aa70f8649("net: smsc911x: Quieten netif during suspend") Signed-off-by: Florian Fainelli <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>