ARM: OMAP2+: DMA: Workaround for invalid destination position
authorPeter Ujfalusi <peter.ujfalusi@ti.com>
Mon, 7 Nov 2011 09:33:07 +0000 (11:33 +0200)
committerTony Lindgren <tony@atomide.com>
Fri, 9 Dec 2011 00:41:08 +0000 (16:41 -0800)
If the DMA destination position has been asked before the
first actual data transfer has been done, the CDAC
register still contains 0 (it is initialized to 0 at
omsp_dma_start).
If CDAC == 0, return the programmed start address.

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Reviewed-by: Jarkko Nikula <jarkko.nikula@bitmer.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found