]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: sh: rcar: dma: : use proper DMAENGINE API for termination
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Wed, 23 Jun 2021 10:05:45 +0000 (12:05 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:48:38 +0000 (23:48 +0100)
commite8226d2f85a6b1d5e86a9353e9f20511cf0c0e34
treef05743ac0cf1b2324830f0bf4426c6a59ef55584
parent7aa21cb91ef7b59251acf68de8717f54e042035b
ASoC: sh: rcar: dma: : 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/20210623100545.3926-1-wsa+renesas@sang-engineering.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/sh/rcar/dma.c