commit | caf280800aaf73f0796d1bb3fa0f6576c8222258 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Sun Apr 03 23:32:00 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Sat Apr 09 08:36:44 2016 +0200 |
tree | 19e022711c6b8b2fc3b67ed87ab4676a2bd3e291 | |
parent | 4ececb7d173f17c60c00e704a0e4e51cdf788e04 [diff] |
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>