[PATCH] dmaengine: stm32-dma: set dma_device max_sg_burst
Vinod Koul
vkoul at kernel.org
Mon Feb 14 21:42:15 PST 2022
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
More information about the linux-arm-kernel
mailing list