Files
twx-linux/drivers/tty
Huibin Hong 62e3d6fad9 serial: 8250_dma: fix bug when tx dma is enable
When three threads run on three different cpu, and write
60 byte to the same uart at the same time, which causes
the data loss. After test, it is caused by DMA bursts 16 byte
when the fifo is more than 48 byte(fifo total 64 byte).
It is solved by clearing the uart dma request before start
dma tx.

Signed-off-by: Huibin Hong <huibin.hong@rock-chips.com>
Change-Id: I4e2099337e25e41a34ceeb9ea774a04cc7c71f07
2023-10-26 15:44:59 +08:00
..