[PATCH 05/10] dmaengine: bcm2835-dma: Use vchan_terminate_vdesc() instead of desc_free

Eric Anholt eric at anholt.net
Wed Nov 15 10:53:57 PST 2017


Peter Ujfalusi <peter.ujfalusi at ti.com> writes:

> 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: Martin Sperl <kernel at martin.sperl.org>
> CC: Eric Anholt <eric at anholt.net>
> Signed-off-by: Peter Ujfalusi <peter.ujfalusi at ti.com>

I haven't fully followed the series, but thanks for porting your fix to
other platforms!

Acked-by: Eric Anholt <eric at anholt.net>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20171115/173153af/attachment.sig>


More information about the linux-arm-kernel mailing list