diff options
author | Wolfram Sang <wsa@the-dreams.de> | 2016-04-03 23:32:00 +0200 |
---|---|---|
committer | Wolfram Sang <wsa@the-dreams.de> | 2016-04-09 08:36:44 +0200 |
commit | caf280800aaf73f0796d1bb3fa0f6576c8222258 (patch) | |
tree | 19e022711c6b8b2fc3b67ed87ab4676a2bd3e291 /drivers/i2c/busses/i2c-diolan-u2c.c | |
parent | Revert "i2c: jz4780: prevent potential division by zero" (diff) | |
download | linux-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