net: stmmac: Terminate FPE workqueue in suspend
authorMohammad Athari Bin Ismail <mohammad.athari.ismail@intel.com>
Wed, 30 Jun 2021 09:59:35 +0000 (17:59 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 1 Jul 2021 20:51:46 +0000 (13:51 -0700)
commit6b28a86d6c0bb02119f386ec2f56efde909e9bcb
tree69997ac8f418fe7283266a31e12cbc1e0ea75fb7
parent1c88995dfbf99704d2eab6ea47d048efe9cda68c
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: 5a5586112b92 ("net: stmmac: support FPE link partner hand-shaking procedure")
Signed-off-by: Mohammad Athari Bin Ismail <mohammad.athari.ismail@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c