dmaengine: bam-dma: fix a warning about missing capabilities
authorStanimir Varbanov <stanimir.varbanov@linaro.org>
Thu, 5 Mar 2015 13:03:04 +0000 (15:03 +0200)
committerVinod Koul <vinod.koul@intel.com>
Thu, 5 Mar 2015 16:14:38 +0000 (21:44 +0530)
commitfe4be5e9f99d433fe6420a12f4e94f05f2ae39a6
tree2cb50370c9d874e2984e20973d68bc5c8ffdff74
parent9ca1c5f2ab9d5bc8955a2cc7ad36ba7074dd7c60
dmaengine: bam-dma: fix a warning about missing capabilities

Avoid the warning below triggered during dmaengine async device
registration.

WARNING: CPU: 1 PID: 1 at linux/drivers/dma/dmaengine.c:863
dma_async_device_register+0x2a8/0x4b8()
this driver doesn't support generic slave capabilities reporting

To do that fill mandatory .directions bit mask,
.src/dst_addr_widths and .residue_granularity dma_device fields
with appropriate values.

Signed-off-by: Stanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/dma/qcom_bam_dma.c