commit | 121c8476a3c39a483326c33526e72a07661df1fc | [log] [tgz] |
---|---|---|
author | Russell King - ARM Linux <linux@arm.linux.org.uk> | Thu Jul 21 17:13:48 2011 +0100 |
committer | Vinod Koul <vinod.koul@intel.com> | Tue Jul 26 15:33:29 2011 +0530 |
tree | e0cdeae942aebffac59c4c375bc7eef9f0f549dc | |
parent | aa88cdaa149e1c1cfc935ff73e50f3f9f3b2e3a1 [diff] |
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 <linus.walleij@linaro.org> Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk> Signed-off-by: Vinod Koul <vinod.koul@intel.com>