ath10k: Fix the size used in a 'dma_free_coherent()' call in an error handling path
authorChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Sun, 2 Aug 2020 12:22:27 +0000 (14:22 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 17 Aug 2020 10:25:24 +0000 (13:25 +0300)
commit454530a9950b5a26d4998908249564cedfc4babc
tree25f6fa43fcec82ce186f572fd0e92130b98614eb
parent1885c0f76dc023e249024074f0578203704fa73c
ath10k: Fix the size used in a 'dma_free_coherent()' call in an error handling path

Update the size used in 'dma_free_coherent()' in order to match the one
used in the corresponding 'dma_alloc_coherent()'.

Fixes: 1863008369ae ("ath10k: fix shadow register implementation for WCN3990")
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Reviewed-by: Rakesh Pillai <pillair@codeaurora.org>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20200802122227.678637-1-christophe.jaillet@wanadoo.fr
drivers/net/wireless/ath/ath10k/ce.c