diff options
author | Geert Uytterhoeven | 2015-11-16 16:33:22 +0100 |
---|---|---|
committer | Geert Uytterhoeven | 2015-12-17 11:18:35 +0100 |
commit | 6c51332dfc23fc7c2c58244e35d36744db202077 (patch) | |
tree | 94c4c23c9e44885410a97b7e5c690c4f3980a6c8 /drivers/tty/serial/m32r_sio.h | |
parent | 881a7489f463e59a44417ad89ecb4ea21b2b86cd (diff) |
serial: sh-sci: Avoid calculating the receive margin for HSCIF
When assuming D = 0.5 and F = 0, maximizing the receive margin M is
equivalent to maximizing the sample rate N.
Hence there's no need to calculate the receive margin, as we can obtain
the same result by iterating over all possible sample rates in reverse
order, and skipping parameter sets that don't provide a lower bit rate
error.
Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/m32r_sio.h')
0 files changed, 0 insertions, 0 deletions