[PATCH RESEND v3 1/5] clk: Respect CLK_OPS_PARENT_ENABLE during recalc

Stephen Boyd sboyd at kernel.org
Thu Jan 22 17:45:33 PST 2026


Quoting Nicolas Frattaroli (2025-12-15 03:23:58)
> When CLK_OPS_PARENT_ENABLE was introduced, it guarded various clock
> operations, such as setting the rate or switching parents. However,
> another operation that can and often does touch actual hardware state is
> recalc_rate, which may also be affected by such a dependency.
> 
> Add parent enables/disables where the recalc_rate op is called directly.
> 
> Fixes: fc8726a2c021 ("clk: core: support clocks which requires parents enable (part 2)")
> Fixes: a4b3518d146f ("clk: core: support clocks which requires parents enable (part 1)")
> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno at collabora.com>
> Reviewed-by: Chen-Yu Tsai <wenst at chromium.org>
> Signed-off-by: Nicolas Frattaroli <nicolas.frattaroli at collabora.com>
> ---

Applied to clk-next



More information about the Linux-mediatek mailing list