From: Wolfram Sang Date: Fri, 2 May 2014 19:15:15 +0000 (+0200) Subject: i2c: sh_mobile: check timing parameters for valid range X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~5^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7663ebefca8079ef0fd2fff1047d3d10af654c78;p=pandora-kernel.git i2c: sh_mobile: check timing parameters for valid range Due to misconfiguration, it can happen that the calculated timing parameters are out of range. Bail out if that happens. We can also simplify some logic later because of the verified value. Also, make the printouts of the values more precise by adding the hex-prefixes. Signed-off-by: Wolfram Sang Signed-off-by: Wolfram Sang --- Reading git-diff-tree failed