]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: at91-master: : use proper DMAENGINE API for termination
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 23 Jun 2021 09:59:35 +0000 (11:59 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 11 Aug 2021 13:12:18 +0000 (15:12 +0200)
commit16e4f10b22773a7fb472b2002b0427e816cde053
tree76168b1053ab110cbf4bb49503e062fdd03cb965
parent87dee520344e2802c6791bee28e3ac3d73558d3d
i2c: at91-master: : use proper DMAENGINE API for termination

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@sang-engineering.com>
Reviewed-by: Codrin Ciubotariu <codrin.ciubotariu@microchip.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-at91-master.c