dmaengine: omap-dma: use cached CCR value when enabling DMA
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 6 Nov 2013 17:18:42 +0000 (17:18 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Apr 2014 23:30:21 +0000 (00:30 +0100)
commit45da7b0451b1fe15e882b08c79be58458cbe7a2f
tree2ab0905104403822ec05c5f402e9e39cb720dd91
parent59871902703c47acc730555be41bd9cb36d3700c
dmaengine: omap-dma: use cached CCR value when enabling DMA

We don't need to read-modify-write the CCR register; we already know
what value it should contain at this point.  Use the cached CCR value
when setting the enable bit.

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