Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f7b08d17 authored by Bojun Pan's avatar Bojun Pan
Browse files

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: default avatarBojun Pan <bojunp@codeaurora.org>
parent 853c7970
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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 @@ static int ipa_fltrt_alloc_lcl_bdy(
			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) {