dmaengine: slave means at least one of DMA_SLAVE, DMA_CYCLIC
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 10 May 2016 17:43:34 +0000 (20:43 +0300)
committerVinod Koul <vinod.koul@intel.com>
Thu, 12 May 2016 05:44:56 +0000 (11:14 +0530)
commitdd4e91d538b3d16d5241575a3fb654a9aa50392c
tree6d0dc2db2bb6347e567666d7fbc2a8bd8cf8d080
parent757d12e5849be549076901b0d33c60d5f360269c
dmaengine: slave means at least one of DMA_SLAVE, DMA_CYCLIC

When check for capabilities recognize slave support by either DMA_SLAVE or
DMA_CYCLIC bit set. If we don't do that the user can't get a normally worked
DMA support for engines that doesn't have one of the mentioned bits set.

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