Re: [PATCH] dmaengine: pl330: use the same attributes when freeing pl330->mcode_cpu

2019-08-08 Thread Vinod Koul
On 26-07-19, 18:59, Fuqian Huang wrote: > 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. Applied, thanks -- ~Vinod

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

2019-07-26 Thread Fuqian Huang
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 --- drivers/dma/pl330.c | 9 + 1 file changed, 5 insertions(+), 4