]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit8c7cf4b474db3cdf9631017dc3614a4bf56a016b
treeaf2929e315bccfef7f94f56a8bc0c1b4f1eed23b
parente0a3487220b7710b0682373883dcaac2f75037e2
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