Re: [PATCH v5] dmaengine: sun6i-dma: Fix reclaim descriptors while terminating DMA

From: Vinod Koul

Date: Thu Jul 02 2026 - 11:29:02 EST



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