Re: [PATCH v14 12/12] dmaengine: imx-sdma: add terminated list for freed descriptor in worker

From: Vinod Koul
Date: Tue Jun 15 2021 - 02:06:59 EST


On 07-04-21, 23:30, Robin Gong wrote:
> Add terminated list for keeping descriptor so that it could be freed in
> worker without any potential involving next descriptor raised up before
> this descriptor freed, because vchan_get_all_descriptors get all
> descriptors including the last terminated descriptor and the next
> descriptor, hence, the next descriptor maybe freed unexpectly when it's
> done in worker without this patch.
> https://www.spinics.net/lists/dmaengine/msg23367.html

Acked-By: Vinod Koul <vkoul@xxxxxxxxxx>

--
~Vinod