diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-01-13 11:45:45 +0000 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-14 18:22:03 -0800 |
commit | 4fe09a0d64d528cc4576ad5c4963836175f2d38d (patch) | |
tree | 8181a5e237b43ea525d4b5fe2591ff30b5c53892 /tools/perf/scripts/python/gecko.py | |
parent | 900782a029e5ca57cc1c334e27f24697b5e47db7 (diff) |
net: stmmac: correct priv->eee_sw_timer_en setting
If we are disabling EEE/LPI, then we should not be enabling software
mode. The only time when we should is if EEE is active, and we are
wanting to use software-timed EEE mode.
Therefore, in the disable path of stmmac_eee_init(), ensure that
priv->eee_sw_timer_en is set false as we are going to be calling
del_timer_sync() on the timer.
This will allow us to simplify some fast-path tests in later patches.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tXIt7-000MB0-0W@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions