mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-25 15:15:33 +08: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
@ -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 New Issue
Block a user