dmaengine: enable DMA_CTRL_REUSE
authorRobert Jarzmik <robert.jarzmik@free.fr>
Tue, 13 Oct 2015 19:54:29 +0000 (21:54 +0200)
committerVinod Koul <vinod.koul@intel.com>
Mon, 16 Nov 2015 03:02:16 +0000 (08:32 +0530)
commit9eeacd3a2f17438d9d286ff2f78c4709a4148be7
treed602de8c0011d281ebaa138a6eecfc88f1e6d1d7
parent13bb26ae8850ede9cfb5ba20e646fe08e23aca97
dmaengine: enable DMA_CTRL_REUSE

In the current state, the capability of transfer reuse can neither be
set by a slave dmaengine driver, nor used by a client driver, because
the capability is not available to dma_get_slave_caps().

Fix this by adding a way to declare the capability.

Fixes: 272420214d26 ("dmaengine: Add DMA_CTRL_REUSE")
Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c
include/linux/dmaengine.h