summaryrefslogtreecommitdiffstats
path: root/drivers/tty/moxa.c
diff options
context:
space:
mode:
authorFugang Duan <fugang.duan@nxp.com>2021-08-17 18:02:03 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-08-18 16:05:27 +0200
commit88c1d2478ec8a420cf60a3c25503e37b34fea5aa (patch)
tree4560aea876860da77a1c43c14bafe8df0a77ba54 /drivers/tty/moxa.c
parent1143637f00cd8205c43bad702b2aff57c01913f8 (diff)
downloadlinux-stable-88c1d2478ec8a420cf60a3c25503e37b34fea5aa.tar.gz
linux-stable-88c1d2478ec8a420cf60a3c25503e37b34fea5aa.tar.bz2
linux-stable-88c1d2478ec8a420cf60a3c25503e37b34fea5aa.zip
tty: serial: fsl_lpuart: check dma_tx_in_progress in tx dma callback
There have a corner case that tx DMA .callback() is coming after .flush_buffer(), then .callback() should check dma_tx_in_progress flag and return in directly. Signed-off-by: Fugang Duan <fugang.duan@nxp.com> Signed-off-by: Vipul Kumar <vipul_kumar@mentor.com> Signed-off-by: Sherry Sun <sherry.sun@nxp.com> Link: https://lore.kernel.org/r/20210817100203.21300-1-sherry.sun@nxp.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/moxa.c')
0 files changed, 0 insertions, 0 deletions