[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20150204220152.421.38508@quantum>
Date: Wed, 04 Feb 2015 14:01:52 -0800
From: Mike Turquette <mturquette@...aro.org>
To: Sergei Shtylyov <sergei.shtylyov@...entembedded.com>,
"Wolfram Sang" <wsa@...-dreams.de>,
"Geert Uytterhoeven" <geert+renesas@...der.be>
Cc: "Stephen Boyd" <sboyd@...eaurora.org>,
"Laurent Pinchart" <laurent.pinchart@...asonboard.com>,
"Ulrich Hecht" <ulrich.hecht+renesas@...il.com>,
"Wolfram Sang" <wsa@...g-engineering.com>,
linux-sh@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] clk: shmobile: div6: Avoid division by zero in .round_rate()
Quoting Sergei Shtylyov (2015-02-04 09:45:14)
> Hello.
>
> On 02/04/2015 08:32 PM, Wolfram Sang 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@...der.be>
>
> > Acked-by: Wolfram Sang <wsa+renesas@...g-engineering.com>
>
> > I agree that this should not be fixed in the core because the fixup is
> > really driver dependant.
>
> Dunno, zero frequency seems generally insane to me.
It is useful to find the lowest frequency a clock can support. Basically
it is a search for the floor frequency.
Regards,
Mike
>
> WBR, Sergei
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists