diff options
-rw-r--r-- | drivers/serial/8250.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/serial/8250.c b/drivers/serial/8250.c index 83168a6c3c05..1fd4894d9b51 100644 --- a/drivers/serial/8250.c +++ b/drivers/serial/8250.c | |||
@@ -2272,7 +2272,9 @@ serial8250_set_termios(struct uart_port *port, struct ktermios *termios, | |||
2272 | /* | 2272 | /* |
2273 | * Ask the core to calculate the divisor for us. | 2273 | * Ask the core to calculate the divisor for us. |
2274 | */ | 2274 | */ |
2275 | baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk/16); | 2275 | baud = uart_get_baud_rate(port, termios, old, |
2276 | port->uartclk / 16 / 0xffff, | ||
2277 | port->uartclk / 16); | ||
2276 | quot = serial8250_get_divisor(port, baud); | 2278 | quot = serial8250_get_divisor(port, baud); |
2277 | 2279 | ||
2278 | /* | 2280 | /* |