dmaengine: add DMA_CYCLIC to dma_get_slave_caps
authorVinod Koul <vinod.koul@intel.com>
Tue, 5 Apr 2016 22:31:33 +0000 (15:31 -0700)
committerVinod Koul <vinod.koul@intel.com>
Tue, 5 Apr 2016 22:31:33 +0000 (15:31 -0700)
commitb2d8984f3e7c84303e4d1cbd40d9e8cefd3c9737
tree3c928d7f71240597e1a553deabea19a6ccdfd5fa
parentf55532a0c0b8bb6148f4e07853b876ef73bc69ca
dmaengine: add DMA_CYCLIC to dma_get_slave_caps

dma_get_slave_caps() API only checked for slave capability where
we use slave capabilities for cyclic dma operations as well, so we
should add the cyclic case here too.

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/dmaengine.c