commit | c74ead223deb88bdf18af8c772d7ca5a9b6c3c2b | [log] [tgz] |
---|---|---|
author | Jisheng Zhang <jszhang@kernel.org> | Sun Jan 23 23:54:58 2022 +0800 |
committer | David S. Miller <davem@davemloft.net> | Tue Jan 25 10:55:54 2022 +0000 |
tree | 10d17295286c84db9fd1ca554d1e88297021d170 | |
parent | e52984be9a522fb55c8f3e3df860d464d6658585 [diff] |
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>