mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-06 19:08:57 +09:00
ODROID-COMMON:UART minimum baud rate modify(110).
Signed-off-by: ckkim <changkon12@gmail.com> Change-Id: Iad06bdf188ac4c7c1184ffb93dccbb5bc7c334bf
This commit is contained in:
@@ -641,7 +641,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, 2400, 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;
|
||||
@@ -666,7 +666,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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user