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:
Cyrill Gorcunov
2015-06-01 16:39:41 +01:00
committed by Will Deacon
parent 4e49b05b43
commit 6d620acb66
+1 -1
View File
@@ -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)