From: Russell King - ARM Linux Date: Thu, 21 Jul 2011 16:13:48 +0000 (+0100) Subject: DMA: PL08x: avoid recalculating cctl at each prepare X-Git-Tag: v3.1-rc1~92^2^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=121c8476a3c39a483326c33526e72a07661df1fc;p=pandora-kernel.git DMA: PL08x: avoid recalculating cctl at each prepare Now that we have separate cctl values for M>P and P>M transfers, we can avoid calculating the cctl value each time we prepare a transaction. Move the bus selection and increment setting to the slave configuration and initialization functions. Acked-by: Linus Walleij Signed-off-by: Russell King Signed-off-by: Vinod Koul --- Reading git-diff-tree failed