]> git.baikalelectronics.ru Git - kernel.git/commit
spi: spi-sh-msiof: : use proper DMAENGINE API for termination
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 23 Jun 2021 09:58:43 +0000 (11:58 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 23 Jun 2021 15:33:53 +0000 (16:33 +0100)
commit7df69ffff657c7b77ce0c5801a2323b5ac6a2a2c
treec746dbd138e1ac752e8106d5932de9e72b6ec248
parent57ab7d4b168f9921d03601fc2cd0dbcbc5e969bd
spi: spi-sh-msiof: : 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>
Link: https://lore.kernel.org/r/20210623095843.3228-3-wsa+renesas@sang-engineering.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-sh-msiof.c