wifi: ath11k: rearrange IRQ enable/disable in reset path
authorBaochen Qiang <quic_bqiang@quicinc.com>
Fri, 23 Feb 2024 15:20:32 +0000 (17:20 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Fri, 23 Feb 2024 15:52:07 +0000 (17:52 +0200)
commitd455e805de706e8c1ce945a0202028c8d764b9bc
tree6f2959049000415b81bb5ff0acdf2a3a075d9a92
parenta4634aa71fee11f5e3e13bf7d80ee1480a64ce70
wifi: ath11k: rearrange IRQ enable/disable in reset path

For non WoW suspend/resume, ath11k host powers down whole hardware
when suspend and powers up it when resume, the code path it goes
through is very like the ath11k reset logic.

In order to reuse that logic, rearrange IRQ handling in the reset
path.

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

Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Signed-off-by: Baochen Qiang <quic_bqiang@quicinc.com>
Link: https://msgid.link/20240221024725.10057-2-quic_bqiang@quicinc.com
drivers/net/wireless/ath/ath11k/core.c