summaryrefslogtreecommitdiff
path: root/drivers/clk/clk.h
diff options
context:
space:
mode:
authorGeert Uytterhoeven <geert+renesas@glider.be>2015-02-04 15:27:21 +0300
committerMichael Turquette <mturquette@linaro.org>2015-02-05 01:02:42 +0300
commit5469d4f22e0c18fc5499b11269d2c528094bcf1e (patch)
tree1a47fb1cdad6fb2931d8b0951e917ac8b9937cbc /drivers/clk/clk.h
parent039e5970750775f102b255de9bf914e04955c6da (diff)
downloadlinux-5469d4f22e0c18fc5499b11269d2c528094bcf1e.tar.xz
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 <geert+renesas@glider.be> Acked-by: Wolfram Sang <wsa+renesas@sang-engineering.com> Signed-off-by: Michael Turquette <mturquette@linaro.org>
Diffstat (limited to 'drivers/clk/clk.h')
0 files changed, 0 insertions, 0 deletions