2 Aug 2012 01:50
dmaengine: PL08x: move DMA signal muxing into slave prepare code
Linux Kernel Mailing List <linux-kernel <at> vger.kernel.org>
2012-08-01 23:50:40 GMT
2012-08-01 23:50:40 GMT
Gitweb: http://git.kernel.org/linus/;a=commit;h=c48d49632989920a7903c2e14e7a6ddff048d1aa Commit: c48d49632989920a7903c2e14e7a6ddff048d1aa Parent: a936e793136b4238ef287cfbbdd25ebb78214529 Author: Russell King <rmk+kernel <at> arm.linux.org.uk> AuthorDate: Fri May 25 11:48:51 2012 +0100 Committer: Russell King <rmk+kernel <at> arm.linux.org.uk> CommitDate: Sun Jul 1 14:15:53 2012 +0100 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 <at> linaro.org> Tested-by: Linus Walleij <linus.walleij <at> linaro.org> Signed-off-by: Russell King <rmk+kernel <at> arm.linux.org.uk> --- drivers/dma/amba-pl08x.c | 79 ++++++++++++++++++--------------------------- 1 files changed, 32 insertions(+), 47 deletions(-) diff --git a/drivers/dma/amba-pl08x.c b/drivers/dma/amba-pl08x.c index 54e3eb0..e04ca0b 100644 --- a/drivers/dma/amba-pl08x.c +++ b/drivers/dma/amba-pl08x.c <at> <at> -168,7 +168,6 <at> <at> struct pl08x_sg { * <at> tx: async tx descriptor(Continue reading)
RSS Feed