From: Russell King Date: Wed, 16 May 2012 11:20:55 +0000 (+0100) Subject: dmaengine: PL08x: get rid of unnecessary checks in dma_slave_config X-Git-Tag: v3.6-rc1~13^2^2~18 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc8d5f8de12146c8732d926a30e5f064d76061e0;p=pandora-kernel.git 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 Tested-by: Linus Walleij Signed-off-by: Russell King --- Reading git-diff-tree failed