Home
last modified time | relevance | path

Searched hist:"289 a3ec0" (Results 1 – 1 of 1) sorted by relevance

/linux/sound/soc/fsl/
H A Dfsl_asrc_dma.c289a3ec0 Fri Jun 17 12:01:33 GMT 2022 Sascha Hauer <s.hauer@pengutronix.de> ASoC: fsl_asrc_dma: Use dmaengine_terminate_async()

dmaengine_terminate_all() is deprecated and should no longer be used.
Use dmaengine_terminate_async() instead. This involves no functional change
since both functions do the same.
After dmaengine_terminate_async() dmaengine_synchronize() must be called
to make sure the channel has really stopped before the underlying memory
is freed. This is done implicitly by dma_release_channel() called from
the .hw_free hook.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Link: https://lore.kernel.org/r/20220617120133.4011846-1-s.hauer@pengutronix.de
Signed-off-by: Mark Brown <broonie@kernel.org>