mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-09 05:39:54 -04:00
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:
parent
853c797061
commit
f7b08d17f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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,
|
||||
¶ms->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,
|
||||
¶ms->hash_bdy.phys_base, flag);
|
||||
if (!params->hash_bdy.base) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue