diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2022-08-24 19:39:51 -0700 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2022-08-26 18:48:15 -0700 |
commit | 3ce9f2bef75528936c78a7053301f5725f622f3a (patch) | |
tree | cb6a9b5850054d5b2721fbfc355abd5a2bdf696d /net/openvswitch | |
parent | 2ca1c94ce0b65a2ce7512b718f3d8a0fe6224bca (diff) |
net: smsc911x: Stop and start PHY during suspend and resume
Commit 744d23c71af3 ("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: fba863b81604 ("net: phy: make PHY PM ops a no-op if MAC driver manages PHY PM")
Fixes: 2aa70f864955 ("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>
Diffstat (limited to 'net/openvswitch')
0 files changed, 0 insertions, 0 deletions