diff options
author | Jisheng Zhang <jszhang@kernel.org> | 2022-01-23 23:54:58 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2022-01-25 10:55:54 +0000 |
commit | c74ead223deb88bdf18af8c772d7ca5a9b6c3c2b (patch) | |
tree | 10d17295286c84db9fd1ca554d1e88297021d170 /drivers/net/hamradio/yam.c | |
parent | Merge tag 'linux-can-fixes-for-5.17-20220124' of git://git.kernel.org/pub/scm/linux/kernel/git/mkl/linux-can (diff) | |
download | linux-dev-c74ead223deb88bdf18af8c772d7ca5a9b6c3c2b.tar.xz linux-dev-c74ead223deb88bdf18af8c772d7ca5a9b6c3c2b.zip |
net: stmmac: reduce unnecessary wakeups from eee sw timer
Currently, on EEE capable platforms, if EEE SW timer is used, the SW
timer cause 1 wakeup/s even if the TX has successfully entered EEE.
Remove this unnecessary wakeup by only calling mod_timer() if we
haven't successfully entered EEE.
Signed-off-by: Jisheng Zhang <jszhang@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/hamradio/yam.c')
0 files changed, 0 insertions, 0 deletions