Skip to content
Snippets Groups Projects
Commit 147947e7 authored by Han Xu's avatar Han Xu Committed by Leonard Crestez
Browse files

MLK-19742: dma: apbh-dma: switch from dma_coherent to dma_pool


Switch from dma_coherent API to dma_pool API for APBH dma driver.

Got the following warnings with the previous dma_alloc_coherent,

alloc_contig_range: [xxx, yyy) PFNs busy

This implementation create one dma_pool dedicate for all following
dma_alloc and avoid keeping allocate available memories.

Signed-off-by: default avatarHan Xu <han.xu@nxp.com>
(cherry picked from commit fb65f7c3050346ddc680a75d4162648175438c5e)
Signed-off-by: default avatarVipul Kumar <vipul_kumar@mentor.com>
Signed-off-by: default avatarSrikanth Krishnakar <Srikanth_Krishnakar@mentor.com>
parent 98097068
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment