Commit dd65894a authored by David S. Miller's avatar David S. Miller

[SUNSAB]: Fix uart_get_baud_rate args.

parent 3f81804d
...@@ -768,7 +768,7 @@ static void sunsab_set_termios(struct uart_port *port, struct termios *termios, ...@@ -768,7 +768,7 @@ static void sunsab_set_termios(struct uart_port *port, struct termios *termios,
{ {
struct uart_sunsab_port *up = (struct uart_sunsab_port *) port; struct uart_sunsab_port *up = (struct uart_sunsab_port *) port;
unsigned long flags; unsigned long flags;
int baud = uart_get_baud_rate(port, termios); int baud = uart_get_baud_rate(port, termios, old, 0, 4000000);
spin_lock_irqsave(&up->port.lock, flags); spin_lock_irqsave(&up->port.lock, flags);
sunsab_convert_to_sab(up, termios->c_cflag, termios->c_iflag, baud); sunsab_convert_to_sab(up, termios->c_cflag, termios->c_iflag, baud);
......
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