dmaengine: PL08x: re-jig the starting of txds
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 May 2012 11:32:00 +0000 (12:32 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:54 +0000 (14:15 +0100)
commiteab82533c972bf932434b69bbb71c6724d863ef7
treeca19df44fddcf780f37e5079795fa70ba33f2b36
parent7847f6b55e6a5fe0bbcdaf20db291c9b1db890e8
dmaengine: PL08x: re-jig the starting of txds

Rather than code the de-queue of the txd several times, move that into
the start_txd function.  Rename this to better illustrate what it's
now doing, and call this function when starting a delayed memcpy().

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