dmaengine: PL08x: move DMA signal muxing into slave prepare code
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 May 2012 10:48:51 +0000 (11:48 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:53 +0000 (14:15 +0100)
commitc48d49632989920a7903c2e14e7a6ddff048d1aa
tree70da8fec9d4ea8240be68504ccc38462666d6081
parenta936e793136b4238ef287cfbbdd25ebb78214529
dmaengine: PL08x: move DMA signal muxing into slave prepare code

Move the DMA request muxing into the slave prepare code and txd
release/completion code.  This means we only hold the DMA request
mux while there are descriptors waiting to be started or are in
progress.

This leaves txd->direction as a write-only variable; remove it.

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>
drivers/dma/amba-pl08x.c