]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6853df433a7dd6b43c363b7219132f263b5c213c
treee3267b6a64076ea5d7fa511db19c5e9fb6f422dd
parent3223609bd722c69a62f9794714371be4131b9d90
dmaengine: omap-dma: more consolidation of CCR register setup

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