]> git.baikalelectronics.ru Git - kernel.git/commit
mxc : Clean up properly when imx_dma_free() used without imx_dma_disable()
authorMartin Fuzzey <mfuzzey@gmail.com>
Thu, 26 Mar 2009 21:21:16 +0000 (22:21 +0100)
committerSascha Hauer <s.hauer@pengutronix.de>
Tue, 5 May 2009 07:36:22 +0000 (09:36 +0200)
commiteb87e8c164932cc8eae34b0f7098192b2d4c5e0a
treef74178fc629402e98db36acfd8985226eb553c66
parent1a985b47cb04b3aed6754b180801ac551787c568
mxc : Clean up properly when imx_dma_free() used without imx_dma_disable()

The sequence
imx_dma_request()
imx_dma_enable()
imx_dma_free()
left the dma channel in_use mode and did not release the timer.

Signed-off-by: Martin Fuzzey <mfuzzey@gmail.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
arch/arm/plat-mxc/dma-mx1-mx2.c