]> www.infradead.org Git - users/hch/misc.git/commit
net: stmmac: check priv->eee_sw_timer_en in suspend path
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>
Mon, 13 Jan 2025 11:45:55 +0000 (11:45 +0000)
committerJakub Kicinski <kuba@kernel.org>
Wed, 15 Jan 2025 02:22:04 +0000 (18:22 -0800)
commitc920e6402523ab43b035c913e14d7a580d815d83
tree58084ddfe5225bc05e4a35c1cc681df829c0fd49
parentbfa9e131c9b22506d21290494e4acd67a2adf3cd
net: stmmac: check priv->eee_sw_timer_en in suspend path

The suspend path uses priv->eee_enabled when cleaning up the software
timed LPI mode. Use priv->eee_sw_timer_en instead so we're consistently
using a single control for software-based timer handling.

Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Link: https://patch.msgid.link/E1tXItH-000MBC-8i@rmk-PC.armlinux.org.uk
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c