]> 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)
commitbe9f688dc8ada1f7444056bc019f4fb6694cd868
tree6048da12ca54c4086d9ca0bffda4de6bbf319acc
parentd56d40feead36271e485af22ff5d266910bb51e5
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