i2c: mxs: : use proper DMAENGINE API for termination
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 23 Jun 2021 09:59:37 +0000 (11:59 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 11 Aug 2021 13:16:01 +0000 (15:16 +0200)
commit101703ca8e37cddf80db2c17a1ca043a65826e17
tree51ec28020359d9f8bbdae586105823285832c6cb
parent73a370cff4db1ad2c19340c38c7ee9a67bfc340d
i2c: mxs: : 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>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-mxs.c