dmaengine: core: expose max burst capability to clients

This patch add max_burst to dma_get_slave_caps for clients
to get the burst capability of slave dma controller.

Signed-off-by: Shawn Lin <[email protected]>
Signed-off-by: Caesar Wang <[email protected]>
Signed-off-by: Vinod Koul <[email protected]>
This commit is contained in:
Shawn Lin 2016-01-22 19:06:50 +08:00 • committed by Vinod Koul
commit 6d5bbed30f
2 changed files with 5 additions and 0 deletions

View file

@ -496,6 +496,7 @@ int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps)
caps->src_addr_widths = device->src_addr_widths;
caps->dst_addr_widths = device->dst_addr_widths;
caps->directions = device->directions;
caps->max_burst = device->max_burst;
caps->residue_granularity = device->residue_granularity;
caps->descriptor_reuse = device->descriptor_reuse;