diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2014-04-14 14:42:00 +0300 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-04-22 21:35:39 +0530 |
commit | 232b223d8281d33820053bb711f91864b8612d8e (patch) | |
tree | a9c660d051a56088f680a5d5b4c313003242cea9 /drivers/dma | |
parent | 72c7b67affc3ee63fc3df6e4a28d452a4e82e332 (diff) | |
download | linux-232b223d8281d33820053bb711f91864b8612d8e.tar.bz2 |
dmaengine: edma: Set DMA_CYCLIC capability flag
Indicate that the edma dmaengine driver has support for cyclic mode.
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@ti.com>
Acked-by: Joel Fernandes <joelf@ti.com>
Reviewed-and-Tested-by: Joel Fernandes <joelf@ti.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
Diffstat (limited to 'drivers/dma')
-rw-r--r-- | drivers/dma/edma.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/dma/edma.c b/drivers/dma/edma.c index 35db3f282bdb..eef51644b69f 100644 --- a/drivers/dma/edma.c +++ b/drivers/dma/edma.c @@ -893,6 +893,7 @@ static int edma_probe(struct platform_device *pdev) dma_cap_zero(ecc->dma_slave.cap_mask); dma_cap_set(DMA_SLAVE, ecc->dma_slave.cap_mask); + dma_cap_set(DMA_CYCLIC, ecc->dma_slave.cap_mask); edma_dma_init(ecc, &ecc->dma_slave, &pdev->dev); |