dmaengine: omap-dma: consolidate setup of CCR
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Nov 2013 19:16:09 +0000 (19:16 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Apr 2014 23:27:59 +0000 (00:27 +0100)
commit3ed4d18f39bcd8cb8d8218c0a5f89a4d81ba8730
tree8c6bd107eb07e2c79d04c7882503d4241e646620
parent2f0d13bdf6440906bb52fe94681ce7927145f4d7
dmaengine: omap-dma: consolidate setup of CCR

Consolidate the setup of the channel control register.  Prepare the
basic value in the preparation of the DMA descriptor, and write it into
the register upon descriptor execution.

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