Skip to content
Commit fe4be5e9 authored by Stanimir Varbanov's avatar Stanimir Varbanov Committed by Vinod Koul
Browse files

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: default avatarStanimir Varbanov <stanimir.varbanov@linaro.org>
Signed-off-by: default avatarVinod Koul <vinod.koul@intel.com>
parent 9ca1c5f2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment