diff options
-rw-r--r-- | drivers/dma/dmaengine.c | 1 | ||||
-rw-r--r-- | include/linux/dmaengine.h | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/drivers/dma/dmaengine.c b/drivers/dma/dmaengine.c index 3ecec1445adf..4aced6689734 100644 --- a/drivers/dma/dmaengine.c +++ b/drivers/dma/dmaengine.c | |||
@@ -493,6 +493,7 @@ int dma_get_slave_caps(struct dma_chan *chan, struct dma_slave_caps *caps) | |||
493 | caps->dst_addr_widths = device->dst_addr_widths; | 493 | caps->dst_addr_widths = device->dst_addr_widths; |
494 | caps->directions = device->directions; | 494 | caps->directions = device->directions; |
495 | caps->residue_granularity = device->residue_granularity; | 495 | caps->residue_granularity = device->residue_granularity; |
496 | caps->descriptor_reuse = device->descriptor_reuse; | ||
496 | 497 | ||
497 | /* | 498 | /* |
498 | * Some devices implement only pause (e.g. to get residuum) but no | 499 | * Some devices implement only pause (e.g. to get residuum) but no |
diff --git a/include/linux/dmaengine.h b/include/linux/dmaengine.h index c47c68e535e8..6f94b5cbd97c 100644 --- a/include/linux/dmaengine.h +++ b/include/linux/dmaengine.h | |||
@@ -659,6 +659,7 @@ enum dmaengine_alignment { | |||
659 | * struct with auxiliary transfer status information, otherwise the call | 659 | * struct with auxiliary transfer status information, otherwise the call |
660 | * will just return a simple status code | 660 | * will just return a simple status code |
661 | * @device_issue_pending: push pending transactions to hardware | 661 | * @device_issue_pending: push pending transactions to hardware |
662 | * @descriptor_reuse: a submitted transfer can be resubmitted after completion | ||
662 | */ | 663 | */ |
663 | struct dma_device { | 664 | struct dma_device { |
664 | 665 | ||
@@ -681,6 +682,7 @@ struct dma_device { | |||
681 | u32 src_addr_widths; | 682 | u32 src_addr_widths; |
682 | u32 dst_addr_widths; | 683 | u32 dst_addr_widths; |
683 | u32 directions; | 684 | u32 directions; |
685 | bool descriptor_reuse; | ||
684 | enum dma_residue_granularity residue_granularity; | 686 | enum dma_residue_granularity residue_granularity; |
685 | 687 | ||
686 | int (*device_alloc_chan_resources)(struct dma_chan *chan); | 688 | int (*device_alloc_chan_resources)(struct dma_chan *chan); |