Skip to content
Commit 5469d4f2 authored by Geert Uytterhoeven's avatar Geert Uytterhoeven Committed by Michael Turquette
Browse files

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: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Acked-by: default avatarWolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: default avatarMichael Turquette <mturquette@linaro.org>
parent 039e5970
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