commit | 95a2703e36530c09a9416321ec21c062f3e91d01 | [log] [tgz] |
---|---|---|
author | Geert Uytterhoeven <geert+renesas@glider.be> | Fri Nov 13 16:56:08 2015 +0100 |
committer | Geert Uytterhoeven <geert+renesas@glider.be> | Thu Dec 17 11:18:27 2015 +0100 |
tree | d1c3fb3d9fb56308f97ea38405c78abbeb989ea5 | |
parent | f4de472ef2ff8937b04d5da9d885c78fcbd4c171 [diff] |
serial: sh-sci: Make unsigned values in sci_baud_calc_hscif() unsigned Move the -1 offset of br to the assignment to *brr, so br cannot become negative anymore, and update the clamp() call. Now all unsigned values in sci_baud_calc_hscif() can become unsigned. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>