ath10k: destroy sdio workqueue while remove sdio module
authorWen Gong <wgong@codeaurora.org>
Thu, 27 Jun 2019 18:21:51 +0000 (21:21 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 31 Jul 2019 05:28:31 +0000 (07:28 +0200)
commitd3dbe913226ecc660987e77a2666e9ecb8fb3bb7
tree39abd095f2128879b6a20b6c6adba10439f4e55a
parent18f05a6fc4cfb78ff1de275d9ebf88c3ed5522a2
ath10k: destroy sdio workqueue while remove sdio module

[ Upstream commit 3ed39f8e747a7aafeec07bb244f2c3a1bdca5730 ]

The workqueue need to flush and destory while remove sdio module,
otherwise it will have thread which is not destory after remove
sdio modules.

Tested with QCA6174 SDIO with firmware
WLAN.RMH.4.4.1-00007-QCARMSWP-1.

Signed-off-by: Wen Gong <wgong@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/net/wireless/ath/ath10k/sdio.c