]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb093a2b4b1ca7a2faef08440e1bfcaf328cbe486
tree00bd605046eb02e925b710bc625b9f9b70fa3c94
parent00ecc47db33ba308ff0fe28616d6e3c1ff0ce94c
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