From: Nobuhiro Iwamatsu Date: Mon, 14 Jul 2014 07:09:58 +0000 (+0900) Subject: serial: sh-sci: Updated calculation of bit error rate and bit rate X-Git-Tag: omap-for-v3.17/fixes-against-rc2~165^2~26 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7d66397f4d282ddf2a2fe516fc9329c5a063459;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed