Re: [PATCH 7/7] i2c: stm32f7: : use proper DMAENGINE API for termination

From: Wolfram Sang
Date: Wed Jun 23 2021 - 10:04:09 EST


On Wed, Jun 23, 2021 at 11:59:41AM +0200, Wolfram Sang wrote:
> dmaengine_terminate_all() is deprecated in favor of explicitly saying if
> it should be sync or async. Here, we want dmaengine_terminate_sync()
> because there is no other synchronization code in the driver to handle
> an async case.
>
> Signed-off-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

Eeks, this is called from irq context as well. Broken patch :(

Attachment: signature.asc
Description: PGP signature