diff options
author | Alex Elder <elder@linaro.org> | 2020-12-03 15:51:06 -0600 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-12-21 13:28:14 +0100 |
commit | 2882ad564be88707cdf6942fb48332bad97d1df2 (patch) | |
tree | 30aaa6366bc6091b4bdead7359f585e05df7a362 /usr | |
parent | aefe6e4a088d0f4976393ee99b96a4392c0d9938 (diff) | |
download | linux-stable-2882ad564be88707cdf6942fb48332bad97d1df2.tar.gz linux-stable-2882ad564be88707cdf6942fb48332bad97d1df2.tar.bz2 linux-stable-2882ad564be88707cdf6942fb48332bad97d1df2.zip |
net: ipa: pass the correct size when freeing DMA memory
[ Upstream commit 1130b252480f3c98cf468e78c1c5c516b390a29c ]
When the coherent memory is freed in gsi_trans_pool_exit_dma(), we
are mistakenly passing the size of a single element in the pool
rather than the actual allocated size. Fix this bug.
Fixes: 9dd441e4ed575 ("soc: qcom: ipa: GSI transactions")
Reported-by: Stephen Boyd <swboyd@chromium.org>
Tested-by: Sujit Kautkar <sujitka@chromium.org>
Signed-off-by: Alex Elder <elder@linaro.org>
Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20201203215106.17450-1-elder@linaro.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'usr')
0 files changed, 0 insertions, 0 deletions