]> git.baikalelectronics.ru Git - kernel.git/commit
ARM: PL08x: move cctl increment and protection setup to prep_slave_sg
authorRussell King - ARM Linux <linux@arm.linux.org.uk>
Mon, 3 Jan 2011 22:40:33 +0000 (22:40 +0000)
committerDan Williams <dan.j.williams@intel.com>
Wed, 5 Jan 2011 03:16:13 +0000 (19:16 -0800)
commitd0268109800515c0d764a9e46a9d69337b75671c
tree9d014ecb90ce04452094cab5d2726321ee92f123
parente3c8bf57c179cd09a4dc5e55bf00434d650d7e72
ARM: PL08x: move cctl increment and protection setup to prep_slave_sg

We don't need to initialize the cctl increment and protection values
in the runtime_config method - we have all the inforamtion to setup
these values in prep_slave_sg().  Move their initialization there.

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