Re: [PATCH] clk: shmobile: div6: Avoid division by zero in .round_rate()

From: Wolfram Sang
Date: Wed Feb 04 2015 - 12:32:45 EST


On Wed, Feb 04, 2015 at 01:27:21PM +0100, Geert Uytterhoeven wrote:
> 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@xxxxxxxxx>

Acked-by: Wolfram Sang <wsa+renesas@xxxxxxxxxxxxxxxxxxxx>

I agree that this should not be fixed in the core because the fixup is
really driver dependant.

Attachment: signature.asc
Description: Digital signature