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

Wolfram Sang wsa+renesas at sang-engineering.com
Wed Jun 23 07:03:57 PDT 2021


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 at sang-engineering.com>

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20210623/094919f5/attachment.sig>


More information about the linux-arm-kernel mailing list