mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-29 22:02:02 +00:00
dmaengine: stm32-mdma: enable descriptor_reuse
Enable descriptor reuse to allow client to resubmit already processed descriptors in order to save descriptor creation time. Signed-off-by: Pierre-Yves MORDRET <pierre-yves.mordret@st.com> Signed-off-by: Amelie Delaunay <amelie.delaunay@st.com> Link: https://lore.kernel.org/r/20200127085334.13163-6-amelie.delaunay@st.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
This commit is contained in:
parent
56cf8ddaa3
commit
542fbc463a
1 changed files with 2 additions and 0 deletions
|
@ -1618,6 +1618,8 @@ static int stm32_mdma_probe(struct platform_device *pdev)
|
|||
dd->device_resume = stm32_mdma_resume;
|
||||
dd->device_terminate_all = stm32_mdma_terminate_all;
|
||||
dd->device_synchronize = stm32_mdma_synchronize;
|
||||
dd->descriptor_reuse = true;
|
||||
|
||||
dd->src_addr_widths = BIT(DMA_SLAVE_BUSWIDTH_1_BYTE) |
|
||||
BIT(DMA_SLAVE_BUSWIDTH_2_BYTES) |
|
||||
BIT(DMA_SLAVE_BUSWIDTH_4_BYTES) |
|
||||
|
|
Loading…
Reference in a new issue