[lkml]   [2017]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH 07/10] dmaengine: amba-pl08x: Use vchan_terminate_vdesc() instead of desc_free
On Tue, Nov 14, 2017 at 3:32 PM, Peter Ujfalusi <> wrote:

> To avoid race with vchan_complete, use the race free way to terminate
> running transfer.
> Implement the device_synchronize callback to make sure that the terminated
> descriptor is freed.
> CC: Linus Walleij <>
> Signed-off-by: Peter Ujfalusi <>

I had to read patch 1 before I understood how the descriptor
gets free:ed now, but now I see it :)
Reviewed-by: Linus Walleij <>

(Good work with hunting down these corner cases, I'm
very happy you're doing this!)

Linus Walleij

 \ /
  Last update: 2017-11-15 08:49    [W:0.123 / U:0.616 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site