OSDN Git Service

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)
commitd5bb69dc54ec1e09f3fd626fdb9c340c0511dbd5
treef05743ac0cf1b2324830f0bf4426c6a59ef55584
parent2ba907894f9e69b68e5934b57afb744482a72984
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