Skip to content

Commit 6b28a86

Browse files
Mohammad Athari Bin Ismaildavem330
authored andcommitted
net: stmmac: Terminate FPE workqueue in suspend
Add stmmac_fpe_stop_wq() in stmmac_suspend() to terminate FPE workqueue during suspend. So, in suspend mode, there will be no FPE workqueue available. Without this fix, new additional FPE workqueue will be created in every suspend->resume cycle. Fixes: 5a55861 ("net: stmmac: support FPE link partner hand-shaking procedure") Signed-off-by: Mohammad Athari Bin Ismail <[email protected]> Signed-off-by: David S. Miller <[email protected]>
1 parent 1c88995 commit 6b28a86

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/net/ethernet/stmicro/stmmac/stmmac_main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7171,6 +7171,7 @@ int stmmac_suspend(struct device *dev)
71717171
priv->plat->rx_queues_to_use, false);
71727172

71737173
stmmac_fpe_handshake(priv, false);
7174+
stmmac_fpe_stop_wq(priv);
71747175
}
71757176

71767177
priv->speed = SPEED_UNKNOWN;

0 commit comments

Comments
 (0)