From 538d0c5ae18b3cb5f62ffcb6cecb3aed76caca84 Mon Sep 17 00:00:00 2001 From: Seung-Woo Kim Date: Thu, 15 May 2014 12:35:50 +0900 Subject: serial: samsung: fix maximum baudrate To support hs uart, maximum baudrate is fixed to 3Mbps. Change-Id: Idc39e09a8089c61518a3525058ae6647a625c8fb Signed-off-by: Seung-Woo Kim --- drivers/tty/serial/samsung.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/tty/serial') diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c index 165f1342dad..bf24bf0d29f 100644 --- a/drivers/tty/serial/samsung.c +++ b/drivers/tty/serial/samsung.c @@ -710,7 +710,7 @@ static void s3c24xx_serial_set_termios(struct uart_port *port, * Ask the core to calculate the divisor for us. */ - baud = uart_get_baud_rate(port, termios, old, 0, 115200*8); + baud = uart_get_baud_rate(port, termios, old, 0, 3000000); quot = s3c24xx_serial_getclk(ourport, baud, &clk, &clk_sel); if (baud == 38400 && (port->flags & UPF_SPD_MASK) == UPF_SPD_CUST) quot = port->custom_divisor; -- cgit v1.2.3