dma: imx-sdma: keep the callbacks invoked in the tasklet
authorHuang Shijie <b32955@freescale.com>
Sat, 28 Apr 2012 10:15:42 +0000 (18:15 +0800)
committerVinod Koul <vinod.koul@linux.intel.com>
Fri, 11 May 2012 05:38:10 +0000 (11:08 +0530)
commitabd9ccc84c35cf1e296335a7b655bba40c92386c
tree22c39af6cc57d6371cf4d74e76c04c60f979e9b5
parentd3f797d93e593aa891f5b04a404b4ab45fd0e66a
dma: imx-sdma: keep the callbacks invoked in the tasklet

The current code keeps the callbacks invoked from interrupt context, this
does not conform to the Documentation/dmaengine.txt.

So add tasklet support to fix this issue.

Signed-off-by: Huang Shijie <b32955@freescale.com>
Signed-off-by: Vinod Koul <vinod.koul@linux.intel.com>
drivers/dma/imx-sdma.c