diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2023-03-15 08:41:15 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2023-03-16 17:13:55 -0700 |
commit | c6be7136afb224a01d4cde2983ddebac8da98693 (patch) | |
tree | 3cfe1e17ea400fb2864451c35d481626b37593a9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 7f5ebf5dae42e710162f1c481ebcf28ab7b741c7 (diff) |
sh_eth: avoid PHY being resumed when interface is not up
SH_ETH 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: 6a1dbfefdae4 ("net: sh_eth: Fix PHY state warning splat during system resume")
Suggested-by: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Michal Kubiak <michal.kubiak@intel.com>
Reviewed-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions