[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <175848469633.4354.18141546693422292683@lazor>
Date: Sun, 21 Sep 2025 12:58:16 -0700
From: Stephen Boyd <sboyd@...nel.org>
To: Alok Tiwari <alok.a.tiwari@...cle.com>, linux-clk@...r.kernel.org, vz@...ia.com
Cc: alok.a.tiwari@...cle.com, darren.kenny@...cle.com, linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH] clk: nxp: Fix pll0 rate check condition in LPC18xx CGU driver
Quoting Alok Tiwari (2025-07-06 13:11:55)
> The conditional check for the PLL0 multiplier 'm' used a logical AND
> instead of OR, making the range check ineffective. This patch replaces
> && with || to correctly reject invalid values of 'm' that are either
> less than or equal to 0 or greater than LPC18XX_PLL0_MSEL_MAX.
>
> This ensures proper bounds checking during clk rate setting and rounding.
>
> Fixes: b04e0b8fd544 ("clk: add lpc18xx cgu clk driver")
> Signed-off-by: Alok Tiwari <alok.a.tiwari@...cle.com>
> ---
Applied to clk-next
Powered by blists - more mailing lists