mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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:
parent
271e1b86e6
commit
6d5bbed30f
2 changed files with 5 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue