wifi: ath12k: add ath12k_qmi_free_resource() for recovery
authorWen Gong <quic_wgong@quicinc.com>
Tue, 10 Oct 2023 07:27:21 +0000 (10:27 +0300)
committerKalle Valo <quic_kvalo@quicinc.com>
Thu, 12 Oct 2023 16:06:29 +0000 (19:06 +0300)
commit92448f8718baf8a8a940c210f04d0787a52e7507
tree304bd7eaa08799d560738b6bb4c8565bd46077fb
parentae3ed72020de04dbdda5206757917117ff3a605f
wifi: ath12k: add ath12k_qmi_free_resource() for recovery

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

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.0-03427-QCAHMTSWPL_V1.0_V2.0_SILICONZ-1.15378.4

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