i2c: sh_mobile: : use proper DMAENGINE API for termination
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 23 Jun 2021 09:59:40 +0000 (11:59 +0200)
committerWolfram Sang <wsa@kernel.org>
Wed, 11 Aug 2021 13:22:24 +0000 (15:22 +0200)
commite5a7cb0d9002e3c963df2fa504f536f878a76888
tree21c200913a666c1cd09d9704255ba25fde6a0185
parent0425b937a79fb03fa73e39b1bd32b012a146998d
i2c: sh_mobile: : 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-sh_mobile.c