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)
commit965aeb4df1f2142f5a6407c6d40b7196be719582
treeaf2929e315bccfef7f94f56a8bc0c1b4f1eed23b
parent893e63e301e37cd3be7afb55c95eb8ef6ead304b
dmaengine: omap-dma: move clnk_ctrl setting to preparation functions

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