dmaengine: omap-dma: more consolidation of CCR register setup
authorRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 14 Jan 2014 23:58:10 +0000 (23:58 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Apr 2014 23:32:53 +0000 (00:32 +0100)
We can move the handling of the DMA synchronisation control out of the
prepare functions; this can be pre-calculated when the DMA channel has
been allocated, so we don't need to duplicate this in both prepare
functions.

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