ath11k: add ath11k_qmi_free_resource() for recovery
authorWen Gong <quic_wgong@quicinc.com>
Mon, 14 Feb 2022 17:53:16 +0000 (19:53 +0200)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 21 Feb 2022 10:04:59 +0000 (12:04 +0200)
commit5f71968e3c769b1d3c3cb0831ef870663b3c1f89
treed6e2e92f1c955010edd29244063feaf680dd5fe7
parentbe24835f83234380ab6a980dc57560f1f97f67f0
ath11k: add ath11k_qmi_free_resource() for recovery

ath11k_qmi_free_target_mem_chunk() and ath11k_qmi_m3_free() is static
in qmi.c, they are needed for recovery, export them in a new function.

Tested-on: WCN6855 hw2.0 PCI WLAN.HSP.1.1-03003-QCAHSPSWPL_V1_V2_SILICONZ_LITE-2

Signed-off-by: Wen Gong <quic_wgong@quicinc.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20220209060012.32478-2-quic_wgong@quicinc.com
drivers/net/wireless/ath/ath11k/qmi.c
drivers/net/wireless/ath/ath11k/qmi.h