commit | d1b622f68daf6c9f1abed360428e5a8f22063f99 | [log] [tgz] |
---|---|---|
author | Fuqian Huang <huangfq.daxian@gmail.com> | Fri Jul 26 18:59:47 2019 +0800 |
committer | Vinod Koul <vkoul@kernel.org> | Thu Aug 08 18:49:43 2019 +0530 |
tree | 39eb7514ead9da50026dc75b36b4c1d76182b8a2 | |
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>