mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-09-26 18:16:26 +00:00
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>
This commit is contained in:
parent
39b132b0fa
commit
34cf2acdaf
1 changed files with 1 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue