diff options
author | Seung-Woo Kim <sw0312.kim@samsung.com> | 2014-05-15 12:35:50 +0900 |
---|---|---|
committer | Chanho Park <chanho61.park@samsung.com> | 2014-11-18 12:00:33 +0900 |
commit | 538d0c5ae18b3cb5f62ffcb6cecb3aed76caca84 (patch) | |
tree | 3b530ec435c9d888ca4b9edb4707bc0503eceddb /drivers/tty/serial | |
parent | f9faaa1e7826a562227b6d44635b65d47a7b3042 (diff) | |
download | linux-3.10-538d0c5ae18b3cb5f62ffcb6cecb3aed76caca84.tar.gz linux-3.10-538d0c5ae18b3cb5f62ffcb6cecb3aed76caca84.tar.bz2 linux-3.10-538d0c5ae18b3cb5f62ffcb6cecb3aed76caca84.zip |
serial: samsung: fix maximum baudrate
To support hs uart, maximum baudrate is fixed to 3Mbps.
Change-Id: Idc39e09a8089c61518a3525058ae6647a625c8fb
Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
Diffstat (limited to 'drivers/tty/serial')
-rw-r--r-- | drivers/tty/serial/samsung.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |