commit | 34cf2acdafaa31a13821e45de5ee896adcd307b1 | [log] [tgz] |
---|---|---|
author | Wolfram Sang <wsa@the-dreams.de> | Sun Apr 03 23:32:00 2016 +0200 |
committer | Wolfram Sang <wsa@the-dreams.de> | Thu Apr 07 21:13:38 2016 +0200 |
tree | c8c875b5fb873558bd281632523fcc0eb3a7a487 | |
parent | 39b132b0fadf3a3ba66d3a5185a84cb5bb21b5e7 [diff] |
i2c: jz4780: prevent potential division by zero Make sure we don't OOPS in case clock-frequency is set to 0 in a DT. The variable set here is later used as a divisor. Signed-off-by: Wolfram Sang <wsa@the-dreams.de>