X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=drivers%2Ftty%2Fserial%2Fserial_core.c;h=27b5554e20d9214c3436aa23d6e35441a5dfa954;hb=e3a0b124c0b78fd18093225bf346ea53baebf811;hp=25b8f6868788548f81b0ab9d2cd959ef48538f7e;hpb=6c798ade8845216f2b6ac4e9dc8120c20f3ce879;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git diff --git a/drivers/tty/serial/serial_core.c b/drivers/tty/serial/serial_core.c index 25b8f68..27b5554 100644 --- a/drivers/tty/serial/serial_core.c +++ b/drivers/tty/serial/serial_core.c @@ -353,7 +353,7 @@ uart_get_baud_rate(struct uart_port *port, struct ktermios *termios, * The spd_hi, spd_vhi, spd_shi, spd_warp kludge... * Die! Die! Die! */ - if (baud == 38400) + if (try == 0 && baud == 38400) baud = altbaud; /*