summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-diolan-u2c.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2016-04-03 23:32:00 +0200
committerWolfram Sang <wsa@the-dreams.de>2016-04-09 08:36:44 +0200
commitcaf280800aaf73f0796d1bb3fa0f6576c8222258 (patch)
tree19e022711c6b8b2fc3b67ed87ab4676a2bd3e291 /drivers/i2c/busses/i2c-diolan-u2c.c
parentRevert "i2c: jz4780: prevent potential division by zero" (diff)
downloadlinux-caf280800aaf73f0796d1bb3fa0f6576c8222258.tar.xz
linux-caf280800aaf73f0796d1bb3fa0f6576c8222258.zip
i2c: jz4780: really prevent potential division by zero
Make sure we avoid a division-by-zero OOPS in case clock-frequency is set too low in DT. Add missing '\n' while we are here. Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Axel Lin <axel.lin@ingics.com>
Diffstat (limited to 'drivers/i2c/busses/i2c-diolan-u2c.c')
0 files changed, 0 insertions, 0 deletions