diff options
author | Peter Ujfalusi <peter.ujfalusi@ti.com> | 2014-04-14 11:42:00 (GMT) |
---|---|---|
committer | Vinod Koul <vinod.koul@intel.com> | 2014-04-22 16:05:39 (GMT) |
commit | 232b223d8281d33820053bb711f91864b8612d8e (patch) | |
tree | a9c660d051a56088f680a5d5b4c313003242cea9 /drivers | |
parent | 72c7b67affc3ee63fc3df6e4a28d452a4e82e332 (diff) | |
download | linux-232b223d8281d33820053bb711f91864b8612d8e.tar.xz |
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')
-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 35db3f2..eef5164 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); |