]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
dmaengine: PL08x: get rid of unnecessary checks in dma_slave_config
authorRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 16 May 2012 11:20:55 +0000 (12:20 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:48 +0000 (14:15 +0100)
commitdc8d5f8de12146c8732d926a30e5f064d76061e0
treea44e7117da81c14d86fda0aefca77c8b9a7537d7
parent800d683e6b8f0ba630470a56b61ff6742ad129ad
dmaengine: PL08x: get rid of unnecessary checks in dma_slave_config

Get rid of the unnecessary checks in dma_slave_config utilizing
the DMA direction.  This allows us to move the computation of
cctl to the prepare function.

Acked-by: Linus Walleij <linus.walleij@linaro.org>
Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-spear3xx/spear300.c
arch/arm/mach-spear3xx/spear310.c
arch/arm/mach-spear3xx/spear320.c
arch/arm/mach-spear3xx/spear3xx.c
arch/arm/mach-spear6xx/spear6xx.c
drivers/dma/amba-pl08x.c
include/linux/amba/pl08x.h