Re: [PATCH 01/10] dmaengine: virt-dma: Add helper to free/reuse a descriptor

2017-11-14 Thread Linus Walleij
On Tue, Nov 14, 2017 at 3:32 PM, Peter Ujfalusi wrote: > The vchan_vdesc_fini() can be used to free or reuse a given descriptor > after it has been marked as completed. > > Signed-off-by: Peter Ujfalusi Reviewed-by: Linus Walleij Yours, Linus Walleij

[PATCH 01/10] dmaengine: virt-dma: Add helper to free/reuse a descriptor

2017-11-14 Thread Peter Ujfalusi
The vchan_vdesc_fini() can be used to free or reuse a given descriptor after it has been marked as completed. Signed-off-by: Peter Ujfalusi --- drivers/dma/virt-dma.c | 5 + drivers/dma/virt-dma.h | 14 ++ 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/drivers/d