Re: [PATCH] clk: tegra: Fix an infinite loop when clock rate is zero

From: Thierry Reding
Date: Mon Sep 24 2018 - 07:40:12 EST


On Fri, Sep 21, 2018 at 06:00:37PM -0400, ryang wrote:
> Calling clk_set_rate or clk_round_rate will lock up the kernel when the
> rate is zero. This avoids the infinite loop and uses a slightly more
> optimized p divider calculation.
>
> Signed-off-by: ryang <decatf@xxxxxxxxx>
> ---
> drivers/clk/tegra/clk-pll.c | 5 ++---
> 1 file changed, 2 insertions(+), 3 deletions(-)

Acked-by: Thierry Reding <treding@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature