dmaengine: omap-dma: consolidate writes to DMA registers
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Nov 2013 14:41:42 +0000 (14:41 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Apr 2014 23:27:47 +0000 (00:27 +0100)
commit913a2d0c6952283bc9323cb9152af87f792ff4c4
tree57c162dee97649090f7f55750ebed3340f4a78b9
parentb9e97822da374f52aaf99cb502f531ff2184b8f5
dmaengine: omap-dma: consolidate writes to DMA registers

There's no need to keep writing registers which don't change value in
omap_dma_start_sg().  Move this into omap_dma_start_desc() and merge
the register updates together.

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