diff options
author | Soren Brinkmann <soren.brinkmann@xilinx.com> | 2013-10-17 23:08:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-10-20 04:47:38 +0200 |
commit | e6b39bfd0db207d2e9f3f78468d18f529f3b7901 (patch) | |
tree | 7463b5987f8f99de5273527541eefe03671f7fc5 /drivers/tty/vt | |
parent | tty: xuartps: Force enable the UART in xuartps_console_write (diff) | |
download | linux-e6b39bfd0db207d2e9f3f78468d18f529f3b7901.tar.xz linux-e6b39bfd0db207d2e9f3f78468d18f529f3b7901.zip |
tty: xuartps: Updating set_baud_rate()
The original algorithm to find the best baud rate dividers does not necessarily
find the best set of dividers. And in the worst case may even write illegal
values to the hardware.
The new function should make better use of the hardware capabilities and be able
to provide valid settings for a wider range of baud rates and also input clocks.
Signed-off-by: Soren Brinkmann <soren.brinkmann@xilinx.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/vt')
0 files changed, 0 insertions, 0 deletions