Skip to content

Commit

Permalink
odroid-c2:UART minimum baud rate 110
Browse files Browse the repository at this point in the history
Change-Id: I03f53c40ac22c1546c378f8227ef6a31fe5f5867
  • Loading branch information
ckkim committed Sep 8, 2016
1 parent 863c013 commit 200d200
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/amlogic/uart/uart/meson_uart.c
Original file line number Diff line number Diff line change
Expand Up @@ -557,7 +557,7 @@ static void meson_uart_set_termios(struct uart_port *port,
writel(val, port->membase + AML_UART_CONTROL);
spin_unlock_irqrestore(&port->lock, flags);

baud = uart_get_baud_rate(port, termios, old, 9600, 4000000);
baud = uart_get_baud_rate(port, termios, old, 110, 4000000);
meson_uart_change_speed(port, baud);

port->read_status_mask = AML_UART_RX_FIFO_OVERFLOW;
Expand All @@ -582,7 +582,7 @@ static int meson_uart_verify_port(struct uart_port *port,
ret = -EINVAL;
if (port->irq != ser->irq)
ret = -EINVAL;
if (ser->baud_base < 9600)
if (ser->baud_base < 110)
ret = -EINVAL;
return ret;
}
Expand Down

0 comments on commit 200d200

Please sign in to comment.