diff options
author | Fuqian Huang <huangfq.daxian@gmail.com> | 2019-07-26 18:59:47 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2019-08-08 18:49:43 +0530 |
commit | d1b622f68daf6c9f1abed360428e5a8f22063f99 (patch) | |
tree | 39eb7514ead9da50026dc75b36b4c1d76182b8a2 /drivers/dma/ti | |
parent | 057b05d5ac4745e7999656223bc6426c0129ba86 (diff) |
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/ti')
0 files changed, 0 insertions, 0 deletions