]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit924c67e0f3431754f20a3569c66f1ba574db2323
tree69997ac8f418fe7283266a31e12cbc1e0ea75fb7
parent25542e9d7d5e64b65d864b3a7b5bdc24151b5d9d
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: 1d0a218e559c ("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