ARM: PL08x: move AHB master port selection into prep_* functions
commitc7da9a56d608145cc763bcfc9329b92c4244d8d9
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:40:53 +0000 (3 22:40 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:13 +0000 (4 19:16 -0800)
tree2e85075b24b15bc3e252f0295099ad8649c77ade
parent1cae78f12028eebdc9107eaf168add46e66fb3f8
ARM: PL08x: move AHB master port selection into prep_* functions

As we initialize the default cctl value in the prep_* functions along
with the increment settings, we don't need to repeat the selection of
the AHB ports each time we create a LLI entry.  Do this in the prep_*
functions once per transfer.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Linus Walleij <linus.walleij@stericsson.com>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dma/amba-pl08x.c