WSL2-Linux-Kernel/drivers/net/ethernet/smsc
Florian Fainelli 8eeba7ef4d net: smsc911x: Stop and start PHY during suspend and resume
[ Upstream commit 3ce9f2bef7 ]

Commit 744d23c71a ("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 <geert+renesas@glider.be>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
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 <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220825023951.3220-1-f.fainelli@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2022-09-08 12:28:02 +02:00
..
Kconfig make legacy ISA probe optional 2021-08-03 13:05:26 +01:00
Makefile
epic100.c epic100: fix use after free on rmmod 2022-07-07 17:53:28 +02:00
smc91c92_cs.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
smc91x.c net: smsc: remove leading spaces before tabs 2021-05-19 12:17:31 -07:00
smc91x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smc911x.c drivers: net: smc911x: Check for error irq 2021-12-29 12:28:44 +01:00
smc911x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smc9194.c ethernet: isa: convert to module_init/module_exit 2021-08-03 13:05:26 +01:00
smc9194.h
smsc911x.c net: smsc911x: Stop and start PHY during suspend and resume 2022-09-08 12:28:02 +02:00
smsc911x.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00
smsc9420.c dev_ioctl: split out ndo_eth_ioctl 2021-07-27 20:11:45 +01:00
smsc9420.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13 2019-05-21 11:28:45 +02:00