diff options
| author | Sascha Hauer <s.hauer@pengutronix.de> | 2022-06-17 14:01:33 +0200 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2022-06-20 11:35:45 +0100 |
| commit | 289a3ec0b5b9a2de6fc75633aa81f017792ecc99 (patch) | |
| tree | 2b12c9d3733947aecc050358b87cb86bbab74ed7 /net/lapb/lapb_in.c | |
| parent | 87a36978b27a32484423b9b0765c57939e162237 (diff) | |
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>
Diffstat (limited to 'net/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
