diff options
Diffstat (limited to 'drivers/tty')
-rw-r--r-- | drivers/tty/serial/8250/8250.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/drivers/tty/serial/8250/8250.c b/drivers/tty/serial/8250/8250.c index 182efcc90e2..c9ac4eabe35 100644 --- a/drivers/tty/serial/8250/8250.c +++ b/drivers/tty/serial/8250/8250.c | |||
@@ -2259,10 +2259,11 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios, | |||
2259 | quot++; | 2259 | quot++; |
2260 | 2260 | ||
2261 | if (up->capabilities & UART_CAP_FIFO && port->fifosize > 1) { | 2261 | if (up->capabilities & UART_CAP_FIFO && port->fifosize > 1) { |
2262 | if (baud < 2400) | 2262 | fcr = uart_config[port->type].fcr; |
2263 | fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1; | 2263 | if (baud < 2400) { |
2264 | else | 2264 | fcr &= ~UART_FCR_TRIGGER_MASK; |
2265 | fcr = uart_config[port->type].fcr; | 2265 | fcr |= UART_FCR_TRIGGER_1; |
2266 | } | ||
2266 | } | 2267 | } |
2267 | 2268 | ||
2268 | /* | 2269 | /* |