[PATCH v5] dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA
Vinod Koul
vkoul at kernel.org
Thu Jul 2 08:25:27 PDT 2026
On Wed, 01 Jul 2026 12:57:33 +0800, Hongling Zeng wrote:
> When terminating DMA transfers, active descriptors are not properly
> reclaimed. Only cyclic descriptors were handled, leaving non-cyclic
> descriptors and their LLI chains to be permanently leaked.
>
> Fix by using vchan_terminate_vdesc() which handles both cyclic and
> non-cyclic descriptors by adding them to desc_terminated queue for
> proper cleanup.
>
> [...]
Applied, thanks!
[1/1] dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA
commit: ab1150115e68a46b687eb38c1ab92782018c9f2c
Best regards,
--
~Vinod
More information about the linux-arm-kernel
mailing list