MLK-14514-2 dma: sdma: use dma_pool_free instead of dma_free_coherent
authorRobin Gong <yibin.gong@nxp.com>
Fri, 24 Mar 2017 08:46:52 +0000 (16:46 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:42 +0000 (15:21 -0500)
commit89174b5e014070ad39cff5b17749718c4e02f602
tree23963959a54d340bf3b933bea26024cca37b648c
parent51658827009030f5c08a7bb96abeed5792a2af31
MLK-14514-2 dma: sdma: use dma_pool_free instead of dma_free_coherent

Some drivers may call terminate dma channel in interrupt, thus
we'd better use dma_poo_free.(Documentation/DMA-API-HOWTO.txt)

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
drivers/dma/imx-sdma.c