]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: omap-dma: consolidate setup of CSDP
authorRussell King <rmk+kernel@arm.linux.org.uk>
Sat, 2 Nov 2013 18:51:53 +0000 (18:51 +0000)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 3 Apr 2014 23:27:56 +0000 (00:27 +0100)
commit84c5075d2852e58e882772c71f28f8e76320d1c5
tree6048da12ca54c4086d9ca0bffda4de6bbf319acc
parent55ef742ed3e38a814894f616b98eecd079ceec2a
dmaengine: omap-dma: consolidate setup of CSDP

Consolidate the setup of the channel source destination parameters
register.  This way, we calculate the required CSDP value when we setup
a transfer descriptor, and only write it to the device registers once
when we start the descriptor.

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