Re: [PATCH 7/7] i2c: stm32f7: : use proper DMAENGINE API for termination
From: Alain Volmat
Date: Wed Jun 30 2021 - 09:11:48 EST
Hi Wolfram,
thanks for the update. If you are ok with that I modify the patch
to partially rely on _async / synchronize whenever needed and push it again
separately.
Regards,
Alain
On Wed, Jun 23, 2021 at 04:03:57PM +0200, Wolfram Sang wrote:
> 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 :(
>