dmaengine: omap-dma: move clnk_ctrl setting to preparation functions
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 6 Nov 2013 17:12:30 +0000 (17:12 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Apr 2014 23:30:15 +0000 (00:30 +0100)
Move the clnk_ctrl setup to the preparation functions, saving its
value in the omap_desc.  This only needs to be set once per descriptor,
not for each segment, so set it in omap_dma_start_desc() rather than
omap_dma_start().

Acked-by: Tony Lindgren <tony@atomide.com>
Acked-by: Vinod Koul <vinod.koul@intel.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/dma/omap-dma.c

Simple merge