Skip to content
Commit caf28080 authored by Wolfram Sang's avatar Wolfram Sang
Browse files

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: default avatarWolfram Sang <wsa@the-dreams.de>
Acked-by: default avatarAxel Lin <axel.lin@ingics.com>
parent 4ececb7d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment