msm: ipa: replace dma_zalloc_coherent()

dma_zalloc_coherent() is no longer needed and get deprecated as it has
no users because dma_alloc_coherent() already zeroes out memory for us.

Change-Id: Ibd49d7afce8caaa7b2b6aed61884b307674f9a59
Signed-off-by: Bojun Pan <bojunp@codeaurora.org>
This commit is contained in:
Bojun Pan 2019-11-19 10:29:52 -08:00
commit f7b08d17f7

View file

@ -4043,7 +4043,7 @@ static int ipa_fltrt_alloc_lcl_bdy(
params->nhash_bdy.size);
alloc1:
params->nhash_bdy.base = dma_zalloc_coherent(
params->nhash_bdy.base = dma_alloc_coherent(
ipahal_ctx->ipa_pdev, params->nhash_bdy.size,
&params->nhash_bdy.phys_base, flag);
if (!params->nhash_bdy.base) {
@ -4078,7 +4078,7 @@ alloc1:
params->hash_bdy.size);
alloc2:
params->hash_bdy.base = dma_zalloc_coherent(
params->hash_bdy.base = dma_alloc_coherent(
ipahal_ctx->ipa_pdev, params->hash_bdy.size,
&params->hash_bdy.phys_base, flag);
if (!params->hash_bdy.base) {