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

From: Vinod Koul
Date: Thu Aug 08 2019 - 09:21:09 EST


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