Nobuhiro Iwamatsu b7d66397f4 serial: sh-sci: Updated calculation of bit error rate and bit rate
Currently, the decimal point is discarded calculation of BRR.
Therefore, it can not calculate a value close to the correct value.
This patch fixes this problem by using DIV_ROUND_CLOSEST.

Signed-off-by: Nobuhiro Iwamatsu <nobuhiro.iwamatsu.yj@renesas.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-17 18:14:44 -07:00
..
2014-07-10 21:04:25 +02:00
2014-07-13 15:52:12 -07:00
2014-06-26 13:34:15 +01:00
2014-06-25 12:19:01 -07:00
2014-07-06 12:11:57 -07:00
2014-07-12 14:13:10 -07:00
2014-07-06 12:08:30 -07:00
2014-06-26 10:48:23 +01:00
2014-07-01 13:18:38 +03:00