imx: serial: use tty_encode_baud_rate to set true rate
authorOskar Schirmer <os@emlix.com>
Thu, 11 Jun 2009 13:55:22 +0000 (14:55 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 11 Jun 2009 15:51:09 +0000 (08:51 -0700)
real baud rate may be different from the one requested.
for upper layers, set the nearest value to the real rate
in favour of the rate previously requested.

Signed-off-by: Oskar Schirmer <os@emlix.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

No differences found