tty: serial: fsl_lpuart: switch to new dmaengine_terminate_* API
authorSherry Sun <sherry.sun@nxp.com>
Wed, 23 Nov 2022 02:36:19 +0000 (10:36 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:47:42 +0000 (12:47 +0200)
commitb7d0fbe4976d4dbf4e1b60b99f41e0f39f544279
treeb2ca07c2fb3917f6bf37196e3a7f2f340253e6ec
parent90a77bca4240c82e46fca69d22ed8bba50c024dd
tty: serial: fsl_lpuart: switch to new dmaengine_terminate_* API

[ Upstream commit 8682ab0eea89c300ebb120c02ead3999ca5560a8 ]

Convert dmaengine_terminate_all() calls to synchronous and asynchronous
versions where appropriate.

Signed-off-by: Sherry Sun <sherry.sun@nxp.com>
Link: https://lore.kernel.org/r/20221123023619.30173-1-sherry.sun@nxp.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Stable-dep-of: 1be6f2b15f90 ("tty: serial: fsl_lpuart: fix race on RX DMA shutdown")
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/tty/serial/fsl_lpuart.c