wifi: ath12k: fix cleanup path after mhi init
[ Upstream commit 6177c97fb6f05bf0473a2806e3bece7e77693209 ]
Currently, the 'err_pci_msi_free' label is misplaced, causing the cleanup
sequence to be incorrect. Fix this by moving the 'err_pci_msi_free' label
to the correct position after 'err_irq_affinity_cleanup'.
Tested-on: QCN9274 hw2.0 PCI WLAN.WBE.1.3.1-00209-QCAHKSWPL_SILICONZ-1
Fixes: a3012f206d ("wifi: ath12k: set IRQ affinity to CPU0 in case of one MSI vector")
Signed-off-by: Raj Kumar Bhagat <quic_rajkbhag@quicinc.com>
Reviewed-by: Vasanthakumar Thiagarajan <vasanthakumar.thiagarajan@oss.qualcomm.com>
Link: https://patch.msgid.link/20250403-ath12k-cleanup-v1-1-ad8f67b0e9cf@quicinc.com
Signed-off-by: Jeff Johnson <jeff.johnson@oss.qualcomm.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
44a51592ac
commit
553c265cd6
@@ -1514,12 +1514,12 @@ err_hal_srng_deinit:
|
||||
err_mhi_unregister:
|
||||
ath12k_mhi_unregister(ab_pci);
|
||||
|
||||
err_pci_msi_free:
|
||||
ath12k_pci_msi_free(ab_pci);
|
||||
|
||||
err_irq_affinity_cleanup:
|
||||
ath12k_pci_set_irq_affinity_hint(ab_pci, NULL);
|
||||
|
||||
err_pci_msi_free:
|
||||
ath12k_pci_msi_free(ab_pci);
|
||||
|
||||
err_pci_free_region:
|
||||
ath12k_pci_free_region(ab_pci);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user