Commit 040d0f72 authored by Russell King's avatar Russell King

[SERIAL] 8250: We can only use the FIFO if fifosize > 1.

parent 42f70b95
...@@ -1459,7 +1459,7 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios, ...@@ -1459,7 +1459,7 @@ serial8250_set_termios(struct uart_port *port, struct termios *termios,
up->rev == 0x5201) up->rev == 0x5201)
quot ++; quot ++;
if (up->capabilities & UART_USE_FIFO) { if (up->capabilities & UART_USE_FIFO && up->port.fifosize > 1) {
if (baud < 2400) if (baud < 2400)
fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1;
#ifdef CONFIG_SERIAL_8250_RSA #ifdef CONFIG_SERIAL_8250_RSA
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment