spi: stm32: use dmaengine_terminate_{a}sync instead of _all
authorAlain Volmat <alain.volmat@foss.st.com>
Thu, 15 Jun 2023 07:58:13 +0000 (09:58 +0200)
committerMark Brown <broonie@kernel.org>
Thu, 15 Jun 2023 11:09:31 +0000 (12:09 +0100)
commit4f2b39dc2d14d4fc55d7a3a140ac07eaa761b701
tree4b2b7d44e02fc9caac5d00cd67d116aad611fbcd
parent6f486556abe35f2e6684f95241acbc463342d3eb
spi: stm32: use dmaengine_terminate_{a}sync instead of _all

Avoid usage of deprecated dmaengine_terminate_all and use
dmaengine_terminate_sync and dmaengine_terminate_async instead.

Signed-off-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Valentin Caron <valentin.caron@foss.st.com>
Link: https://lore.kernel.org/r/20230615075815.310261-3-valentin.caron@foss.st.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-stm32.c