On 2026-10-11T22:28:36, Jonas Karlman <[email protected]> wrote:
> clk: rockchip: rk3528: Return correct rate for CLK_PWMx
>
> The PWM clock getter overwrites the 100 MHz rate with the oscillator
> rate because the 50 MHz parent test starts a separate if-else statement.
>
> Change to use else-if so the getter returns 100 MHz when the 100 MHz
> parent is selected.
>
> Fixes: 5a7a856b132f ("clk: rockchip: Add support for RK3528")
> Signed-off-by: Jonas Karlman <[email protected]>
> Reviewed-by: Quentin Schulz <[email protected]>
>
>  drivers/clk/rockchip/clk_rk3528.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Simon Glass <[email protected]>

Reply via email to