[PATCH] 8250_dw: do not int overflow when rate can not be aplied

2018-01-11 Thread Nuno Goncalves
tes to be applied. Still in my hardware the max allowed rate (150) is aplied when a higher is requested. This seems a artifact of clk_round_rate which is not understood by me and independent of this fix. Might or might not be another bug. Signed-off-by: Nuno Goncalves <nuno...@gmail.com> --- dr

[PATCH] 8250_dw: do not int overflow when rate can not be aplied

2018-01-11 Thread Nuno Goncalves
tes to be applied. Still in my hardware the max allowed rate (150) is aplied when a higher is requested. This seems a artifact of clk_round_rate which is not understood by me and independent of this fix. Might or might not be another bug. Signed-off-by: Nuno Goncalves --- drivers/tty/serial/8