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)
commitde0096d80980e26fab16ac3eff57f47fadad92cb
treef74178fc629402e98db36acfd8985226eb553c66
parentb4348f32dae3cb6eb4bc21c7ed8f76c0b11e9d6a
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