|
@@ -950,7 +950,7 @@ static void qe_uart_set_termios(struct uart_port *port,
|
|
if ((termios->c_cflag & CREAD) == 0)
|
|
if ((termios->c_cflag & CREAD) == 0)
|
|
port->read_status_mask &= ~BD_SC_EMPTY;
|
|
port->read_status_mask &= ~BD_SC_EMPTY;
|
|
|
|
|
|
- baud = uart_get_baud_rate(port, termios, old, 0, 115200);
|
|
|
|
|
|
+ baud = uart_get_baud_rate(port, termios, old, 0, port->uartclk / 16);
|
|
|
|
|
|
/* Do we really need a spinlock here? */
|
|
/* Do we really need a spinlock here? */
|
|
spin_lock_irqsave(&port->lock, flags);
|
|
spin_lock_irqsave(&port->lock, flags);
|