dmaengine: omap-dma: use cached CCR value when enabling DMA
authorRussell King <[email protected]>
Wed, 6 Nov 2013 17:18:42 +0000 (17:18 +0000)
committerRussell King <[email protected]>
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 <[email protected]>
Acked-by: Vinod Koul <[email protected]>
Signed-off-by: Russell King <[email protected]>
drivers/dma/omap-dma.c