]> git.baikalelectronics.ru Git - kernel.git/commit
omap: SDMA: Fix omap_stop_dma() API for channel linking
authorSantosh Shilimkar <santosh.shilimkar@ti.com>
Thu, 22 Oct 2009 21:46:31 +0000 (14:46 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 22 Oct 2009 21:46:31 +0000 (14:46 -0700)
commit8f0c5ab9319453a395d759e09a72584c78b91d1f
tree26d32357113778bc7628405981db17f27954c9c4
parent7961fcba208fcf086d5acc5e023a670f4de60550
omap: SDMA: Fix omap_stop_dma() API for channel linking

OMAP sDMA driver API omap_stop_dma() doesn't really stop the dma when used
in linking scenario.

The DMA channel needs to be disabled before resetting the chain.
Also fix clearing of the OMAP_DMA_ACTIVE status in the linked case.

Cc: Hari n <hari.zoom@gmail.com>
Cc: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@ti.com>
Signed-off-by: Venkatraman S <svenkatr@ti.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/dma.c