diff options
author | Wolfram Sang <[email protected]> | 2023-03-27 10:31:38 +0200 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2023-03-28 13:39:47 +0200 |
commit | f22c993f31fa9615df46e49cd768b713d39a852f (patch) | |
tree | 37073d374c76e08c405740c7032d3796983d30ac /scripts/generate_rust_analyzer.py | |
parent | b4c66d755e6d5620920168c15eb75f53394a952c (diff) |
smsc911x: avoid PHY being resumed when interface is not up
SMSC911x doesn't need mdiobus suspend/resume, that's why it sets
'mac_managed_pm'. However, setting it needs to be moved from init to
probe, so mdiobus PM functions will really never be called (e.g. when
the interface is not up yet during suspend/resume).
Fixes: 3ce9f2bef755 ("net: smsc911x: Stop and start PHY during suspend and resume")
Suggested-by: Heiner Kallweit <[email protected]>
Signed-off-by: Wolfram Sang <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions