]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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, 6 Apr 2023 10:10:36 +0000 (12:10 +0200)
commit3a4d6f959caaf5bc24779fe5846a191482df524c
treedef284102269eeadc0e8fe4824ccd10bf66e6172
parent33123ad902f312de32bc149bf0d2613ce1fbb041
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