diff options
author | Fuqian Huang <huangfq.daxian@gmail.com> | 2019-07-26 12:59:47 +0200 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-08-08 15:19:43 +0200 |
commit | d1b622f68daf6c9f1abed360428e5a8f22063f99 (patch) | |
tree | 39eb7514ead9da50026dc75b36b4c1d76182b8a2 /drivers/dma/fsl-edma.c | |
parent | dmaengine: qcom: hidma_mgmt: Add of_node_put() before goto (diff) | |
download | linux-d1b622f68daf6c9f1abed360428e5a8f22063f99.tar.xz linux-d1b622f68daf6c9f1abed360428e5a8f22063f99.zip |
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: Fuqian Huang <huangfq.daxian@gmail.com>
Link: https://lore.kernel.org/r/20190726105947.25342-1-huangfq.daxian@gmail.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/dma/fsl-edma.c')
0 files changed, 0 insertions, 0 deletions