serial: samsung: Fixed wrong comparison for baudclk_rate
authorKyoungil Kim <ki0351.kim@samsung.com>
Sun, 20 May 2012 08:49:31 +0000 (17:49 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 12 Jun 2012 22:31:29 +0000 (15:31 -0700)
commit25f04ad423e5eb40c33a904db5a0d2c7e3bf08f5
tree3ac3208603c83631ab5ac1cceefcde9acb326766
parent7cd88831feb03cadb355d5fb2b18ebe284c1f1e3
serial: samsung: Fixed wrong comparison for baudclk_rate

port->baudclk_rate should be compared to the rate of port->baudclk,
because port->baudclk_rate was assigned as the rate of port->baudclk previously.
So to check that the current baudclk rate is same as previous rate,
the target of comparison sholud be the rate of port->baudclk.

Signed-off-by: Jun-Ho, Yoon <junho78.yoon@samsung.com>
Signed-off-by: Kyoungil Kim <ki0351.kim@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/samsung.c
This page took 0.024566 seconds and 5 git commands to generate.