author | Peter Ujfalusi <peter.ujfalusi@ti.com> | |
Tue, 14 Nov 2017 14:32:03 +0000 (16:32 +0200) | ||
committer | Vinod Koul <vinod.koul@intel.com> | |
Mon, 4 Dec 2017 17:03:51 +0000 (22:33 +0530) | ||
commit | 6af149d2b1422e0e873d8558274713e6f63142c2 | |
tree | 781a20e50da84484666dc5152bbead514d59f386 | tree | snapshot (tar.xz tar.gz zip) |
parent | 4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323 | commit | diff |
dmaengine: virt-dma: Add helper to free/reuse a descriptor
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 <peter.ujfalusi@ti.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
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 <peter.ujfalusi@ti.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/virt-dma.c | diff | blob | history | |
drivers/dma/virt-dma.h | diff | blob | history |