ath10k: Fix error handling in case of CE pipe init failure
authorRakesh Pillai <pillair@codeaurora.org>
Fri, 11 Dec 2020 19:00:10 +0000 (00:30 +0530)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 17 Dec 2020 06:49:07 +0000 (08:49 +0200)
commit31561e8557cd1eeba5806ac9ce820f8323b2201b
tree3aaded346603e6618d4f84e25fde982e14a24ae0
parent13458ffe0a953e17587f172a8e5059c243e6850a
ath10k: Fix error handling in case of CE pipe init failure

Currently if the copy engine pipe init fails for snoc based
chipsets, the rri is not freed.

Fix this error handling for copy engine pipe init
failure.

Tested-on: WCN3990 hw1.0 SNOC WLAN.HL.3.1-01040-QCAHLSWMTPLZ-1

Fixes: 4945af5b264f ("ath10k: enable SRRI/DRRI support on ddr for WCN3990")
Signed-off-by: Rakesh Pillai <pillair@codeaurora.org>
Reviewed-by: Brian Norris <briannorris@chromium.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/1607713210-18320-1-git-send-email-pillair@codeaurora.org
drivers/net/wireless/ath/ath10k/snoc.c