ath11k: fix IRQ affinity warning on shutdown
authorJohan Hovold <johan+linaro@kernel.org>
Mon, 23 May 2022 14:32:58 +0000 (16:32 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 30 May 2022 11:24:40 +0000 (14:24 +0300)
commit3bd0c69653ac636eae8872aacdcd4156f772f928
tree5f4d506957a9e88a4f6d5ca04307eb58702cda68
parent9f855efd9a7b6b0539c694e9381fb67cf68b96c7
ath11k: fix IRQ affinity warning on shutdown

Make sure to clear the IRQ affinity hint also on shutdown to avoid
triggering a WARN_ON_ONCE() in __free_irq() when stopping MHI while
using a single MSI vector.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03125-QCAHSPSWPL_V1_V2_SILICONZ_LITE-3

Fixes: e94b07493da3 ("ath11k: Set IRQ affinity to CPU0 in case of one MSI vector")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220523143258.24818-1-johan+linaro@kernel.org
drivers/net/wireless/ath/ath11k/pci.c