mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-10-03 15:29:05 +00:00
8250-serial: Make transmitter being always ready to send data
Otherwise it causes kernel to do additional timeout waiting for THR being empty. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
This commit is contained in:
committed by
Will Deacon
parent
4e49b05b43
commit
6d620acb66
+1
-1
@@ -30,7 +30,7 @@ static struct serial8250_device device = {
|
||||
.irq = 4,
|
||||
|
||||
.iir = UART_IIR_NO_INT,
|
||||
.lsr = UART_LSR_THRE,
|
||||
.lsr = UART_LSR_TEMT | UART_LSR_THRE,
|
||||
};
|
||||
|
||||
static int read_char(int fd)
|
||||
|
||||
Reference in New Issue
Block a user