Re: [PATCH v8 04/11] clk: renesas: rzg2l-cpg: Add helper for mod clock enable/disable

From: Geert Uytterhoeven

Date: Thu Mar 26 2026 - 10:03:49 EST


On Tue, 24 Mar 2026 at 12:43, Biju <biju.das.au@xxxxxxxxx> wrote:
> From: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>
>
> Refactor rzg2l_mod_clock_endisable() by extracting its logic into a new
> helper function rzg2l_mod_clock_endisable_helper(), which accepts an
> additional set_mstop_state boolean parameter. This allows callers to
> control whether the module stop state is updated alongside the clock
> enable/disable operation. No functional change for existing callers.
>
> Signed-off-by: Biju Das <biju.das.jz@xxxxxxxxxxxxxx>

Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
i.e. will queue in renesas-clk for v7.1.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds