|
@@ -2259,10 +2259,11 @@ serial8250_do_set_termios(struct uart_port *port, struct ktermios *termios,
|
|
quot++;
|
|
quot++;
|
|
|
|
|
|
if (up->capabilities & UART_CAP_FIFO && port->fifosize > 1) {
|
|
if (up->capabilities & UART_CAP_FIFO && port->fifosize > 1) {
|
|
- if (baud < 2400)
|
|
|
|
- fcr = UART_FCR_ENABLE_FIFO | UART_FCR_TRIGGER_1;
|
|
|
|
- else
|
|
|
|
- fcr = uart_config[port->type].fcr;
|
|
|
|
|
|
+ fcr = uart_config[port->type].fcr;
|
|
|
|
+ if (baud < 2400) {
|
|
|
|
+ fcr &= ~UART_FCR_TRIGGER_MASK;
|
|
|
|
+ fcr |= UART_FCR_TRIGGER_1;
|
|
|
|
+ }
|
|
}
|
|
}
|
|
|
|
|
|
/*
|
|
/*
|