DMA: PL08x: select LLI bus only once per LLI setup
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Thu, 21 Jul 2011 16:11:46 +0000 (17:11 +0100)
committerVinod Koul <vinod.koul@intel.com>
Tue, 26 Jul 2011 10:03:28 +0000 (15:03 +0530)
commit25c94f7fcf70d94e12401b9c957ddf1d303061a3
tree8d0f926b6bbb2272dce7c506bd55f037d94a8b82
parentf44bd191404841e44a914b2760a16ad328f406a8
DMA: PL08x: select LLI bus only once per LLI setup

Avoid re-selecting the LLI bus each time we create an LLI.  Move it out
of the LLI setup loops.

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>
drivers/dma/amba-pl08x.c