diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2014-04-14 07:42:00 -0400 |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-04-22 12:05:39 -0400 |
commit | 232b223d8281d33820053bb711f91864b8612d8e (patch) | |
tree | a9c660d051a56088f680a5d5b4c313003242cea9 /drivers/dma | |
parent | 72c7b67affc3ee63fc3df6e4a28d452a4e82e332 (diff) |
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) | |||
893 | 893 | ||
894 | dma_cap_zero(ecc->dma_slave.cap_mask); | 894 | dma_cap_zero(ecc->dma_slave.cap_mask); |
895 | dma_cap_set(DMA_SLAVE, ecc->dma_slave.cap_mask); | 895 | dma_cap_set(DMA_SLAVE, ecc->dma_slave.cap_mask); |
896 | dma_cap_set(DMA_CYCLIC, ecc->dma_slave.cap_mask); | ||
896 | 897 | ||
897 | edma_dma_init(ecc, &ecc->dma_slave, &pdev->dev); | 898 | edma_dma_init(ecc, &ecc->dma_slave, &pdev->dev); |
898 | 899 | ||