serial: max310x: Setup baud rate generator more precisely
authorAlexander Shiyan <shc_work@mail.ru>
Fri, 7 Feb 2014 14:16:04 +0000 (18:16 +0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 13 Feb 2014 17:33:04 +0000 (09:33 -0800)
This patch provide more precisely setup of baud rate generator.
If the result of division has a remainder, we use the multiplier
for the base frequency. Additionally, we report result baud rate
back to serial core.

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

No differences found