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)
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>

No differences found