]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc3187c55c22ed57420b87368a1e054223e323dd4
tree2ab0905104403822ec05c5f402e9e39cb720dd91
parent3278bf72f04e3e5f5f98884654098e32276a6022
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