dmaengine: virt-dma: vchan_find_desc()
authorRussell King <rmk+kernel@arm.linux.org.uk>
Thu, 10 May 2012 22:39:27 +0000 (23:39 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Sun, 1 Jul 2012 13:15:22 +0000 (14:15 +0100)
commitfe045874aaf4480386c65baf1acae82af4c5e21f
tree00bd605046eb02e925b710bc625b9f9b70fa3c94
parent50437bff7f7374f86837986f66e15e73a364f894
dmaengine: virt-dma: vchan_find_desc()

Add a function to find a descriptor within the depths of the
virtualized DMA channel support.  Needed for tx_status functionality.

Tested-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/dma/virt-dma.c
drivers/dma/virt-dma.h