diff options
author | Samuel Holland <[email protected]> | 2021-01-03 05:17:43 -0600 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-01-05 16:32:08 -0800 |
commit | b8239638853e3e37b287e4bd4d57b41f14c78550 (patch) | |
tree | 69c3157871105eb3434fce67ebfb1efcf55110cc /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 529254216773acd5039c07aa18cf06fd1f9fccdd (diff) |
net: stmmac: dwmac-sun8i: Balance internal PHY power
sun8i_dwmac_exit calls sun8i_dwmac_unpower_internal_phy, but
sun8i_dwmac_init did not call sun8i_dwmac_power_internal_phy. This
caused PHY power to remain off after a suspend/resume cycle. Fix this by
recording if PHY power should be restored, and if so, restoring it.
Fixes: 634db83b8265 ("net: stmmac: dwmac-sun8i: Handle integrated/external MDIOs")
Signed-off-by: Samuel Holland <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions