diff options
author | Geert Uytterhoeven <[email protected]> | 2015-02-04 13:27:21 +0100 |
---|---|---|
committer | Michael Turquette <[email protected]> | 2015-02-04 14:02:42 -0800 |
commit | 5469d4f22e0c18fc5499b11269d2c528094bcf1e (patch) | |
tree | 1a47fb1cdad6fb2931d8b0951e917ac8b9937cbc /scripts/basic/bin2c.c | |
parent | 039e5970750775f102b255de9bf914e04955c6da (diff) |
clk: shmobile: div6: Avoid division by zero in .round_rate()
Anyone may call clk_round_rate() with a zero rate value, so we have to
protect against that.
Signed-off-by: Geert Uytterhoeven <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
Signed-off-by: Michael Turquette <[email protected]>
Diffstat (limited to 'scripts/basic/bin2c.c')
0 files changed, 0 insertions, 0 deletions