Watch
1
Fork
You've already forked kernel_a52xq
0
mirror of https://github.com/a52xq-dev/kernel.git synced 2026-10-18 21:58:11 +07:00
kernel_a52xq/drivers/tty/serial/8250
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Vignesh Raghavendra 69077bd8f1 serial: 8250: 8250_omap: Terminate DMA before pushing data on RX timeout
[ Upstream commit 7cf4df30a98175033e9849f7f16c46e96ba47f41 ]

Terminate and flush DMA internal buffers, before pushing RX data to
higher layer. Otherwise, this will lead to data corruption, as driver
would end up pushing stale buffer data to higher layer while actual data
is still stuck inside DMA hardware and has yet not arrived at the
memory.
While at that, replace deprecated dmaengine_terminate_all() with
dmaengine_terminate_async().

Signed-off-by: Vignesh Raghavendra <vigneshr@ti.com>
Link: https://lore.kernel.org/r/20200319110344.21348-2-vigneshr@ti.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-10-01 13:14:39 +02:00
..
8250.h
8250_accent.c
8250_acorn.c
8250_aspeed_vuart.c serial: 8250: Check UPF_IRQ_SHARED in advance 2020-02-28 16:38:48 +01:00
8250_bcm2835aux.c serial: 8250_bcm2835aux: Fix line mismatch on driver unbind 2020-02-01 09:37:03 +00:00
8250_boca.c
8250_core.c serial: 8250: Avoid error message on reprobe 2020-09-26 18:01:32 +02:00
8250_dma.c
8250_dw.c
8250_early.c
8250_em.c
8250_exar.c serial: 8250_exar: Fix number of ports for Commtech PCIe cards 2020-09-03 11:24:27 +02:00
8250_exar_st16c554.c
8250_fintek.c
8250_fourport.c
8250_fsl.c serial: 8250: Rate limit serial port rx interrupts during input overruns 2019-12-05 09:20:25 +01:00
8250_gsc.c
8250_hp300.c
8250_hub6.c
8250_ingenic.c
8250_lpc18xx.c
8250_lpss.c
8250_men_mcb.c 8250-men-mcb: fix error checking when get_num_ports returns -ENODEV 2019-11-10 11:27:25 +01:00
8250_mid.c
8250_moxa.c
8250_mtk.c serial: 8250_mtk: Fix high-speed baud rates clamping 2020-07-29 10:16:56 +02:00
8250_of.c serial: 8250: Check UPF_IRQ_SHARED in advance 2020-02-28 16:38:48 +01:00
8250_omap.c serial: 8250: 8250_omap: Terminate DMA before pushing data on RX timeout 2020-10-01 13:14:39 +02:00
8250_pci.c serial: 8250_pci: Add Realtek 816a and 816b 2020-09-23 12:11:01 +02:00
8250_pnp.c
8250_port.c serial: 8250_port: Don't service RX FIFO if throttled 2020-10-01 13:14:39 +02:00
8250_pxa.c
8250_uniphier.c
Kconfig
Makefile
serial_cs.c