dmaengine: PL08x: split the pend_list in two
authorRussell King <rmk+kernel@arm.linux.org.uk>
Fri, 25 May 2012 12:10:36 +0000 (13:10 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:55 +0000 (14:15 +0100)
commitea1605612ca4a8c7936e155da768bb9f4e69e84f
tree4a769ee3efeb141be59fec1de64474f303f69e48
parenteab82533c972bf932434b69bbb71c6724d863ef7
dmaengine: PL08x: split the pend_list in two

Our behaviour wasn't correct; issue_pending is supposed to be called
before any submitted descriptors are available for processing by the
DMA engine.  Split the pend_list in two, one for submitted descriptors
and another list for issued descriptors.

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