ath10k: don't disable interrupts in ath10k_sdio_remove()
authorWen Gong <wgong@codeaurora.org>
Fri, 19 Apr 2019 07:28:47 +0000 (10:28 +0300)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 23 Apr 2019 13:23:27 +0000 (16:23 +0300)
commit70736b9753fdebccf68eb84d8be0f8d9c5a7680e
tree2bec96052131bcfcafc52f0b4b957ff89556a578
parent4504f0e5b5714d9d26b1a80bf1fc133c95830588
ath10k: don't disable interrupts in ath10k_sdio_remove()

Disabling interrupts this early meant WMI communication was not working anymore
when the SDIO device was removed. But we call ath10k_core_unregister() that
will eventually call ath10k_sdio_hif_stop(), which disables the interrupts. So
there's actually no need to disable interrupts here.

Also remove cancel_work_sync() as it's also called in ath10k_sdio_hif_stop().

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>
drivers/net/wireless/ath/ath10k/sdio.c