Messages in this thread | | | Date | Tue, 15 Feb 2022 11:12:15 +0530 | From | Vinod Koul <> | Subject | Re: [PATCH] dmaengine: stm32-dma: set dma_device max_sg_burst |
| |
On 17-01-22, 10:17, Amelie Delaunay wrote: > Some stm32-dma consumers [1] rather use dma_get_slave_caps() to get > max_sg_burst of their DMA channel as dma_get_max_seg_size() is specific to > the DMA controller. > All stm32-dma channels have the same features so, don't need to implement > device_caps ops. Let dma_get_slave_caps() relies on dma_device > configuration. > That's why this patch sets dma_device max_sg_burst to the maximum segment > size, which is the maximum of data items that can be transferred without > software intervention.
Applied, thanks
-- ~Vinod
| |