Skip to content
Commit d1b622f6 authored by Fuqian Huang's avatar Fuqian Huang Committed by Vinod Koul
Browse files

dmaengine: pl330: use the same attributes when freeing pl330->mcode_cpu



In function dmac_alloc_resources(), pl330->mcode_cpu is allocated using
dma_alloc_attrs() but freed with dma_free_coherent().
Use the correct dma_free_attrs() function to free pl330->mcode_cpu.

Signed-off-by: default avatarFuqian Huang <huangfq.daxian@gmail.com>
Link: https://lore.kernel.org/r/20190726105947.25342-1-huangfq.daxian@gmail.com


Signed-off-by: default avatarVinod Koul <vkoul@kernel.org>
parent 057b05d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment