summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSeung-Woo Kim <sw0312.kim@samsung.com>2014-05-15 03:35:50 (GMT)
committerBeomho Seo <beomho.seo@samsung.com>2014-05-15 03:36:36 (GMT)
commit23ea545052bb086e1177aa6e820e2e03331599e1 (patch)
tree08a941bd0183f75dada1d32d5f3fe177e7078266
parent63d6bbe3d13609144e46d6245940ae11ddfb629b (diff)
downloadlinux-3.10-23ea545052bb086e1177aa6e820e2e03331599e1.zip
linux-3.10-23ea545052bb086e1177aa6e820e2e03331599e1.tar.gz
linux-3.10-23ea545052bb086e1177aa6e820e2e03331599e1.tar.bz2
serial: samsung: fix maximum baudraterefs/changes/78/21078/1
To support hs uart, maximum baudrate is fixed to 3Mbps. Change-Id: Idc39e09a8089c61518a3525058ae6647a625c8fb Signed-off-by: Seung-Woo Kim <sw0312.kim@samsung.com>
-rw-r--r--drivers/tty/serial/samsung.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tty/serial/samsung.c b/drivers/tty/serial/samsung.c
index 12bb5d8..61aa7b0 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;