summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-mux.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2014-05-02 21:15:15 +0200
committerWolfram Sang <wsa@the-dreams.de>2014-05-22 10:09:24 +0200
commit7663ebefca8079ef0fd2fff1047d3d10af654c78 (patch)
treee9de9c4476c82e08bb29f58c8ccdf9fbfaeb4161 /drivers/i2c/i2c-mux.c
parent6ed7053c2255c34886297b995c6a18607b36d668 (diff)
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 <wsa+renesas@sang-engineering.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'drivers/i2c/i2c-mux.c')
0 files changed, 0 insertions, 0 deletions