Re: [PATCH v2] clk: mediatek: mt8173-mfgtop: do not use the clk API from power_on
From: AngeloGioacchino Del Regno
Date: Tue Nov 17 2026 - 05:38:44 EST
On Sun, 13 Sep 2026 16:47:53 -0500, Ryan Brue wrote:
> clk_mt8173_mfgtop_power_on() calls clk_prepare_enable() on the mfg_26m gate
> that this same driver provides. That is a layering inversion which cannot
> work: clk_core_prepare() calls clk_pm_runtime_get() on the clock provider
> -- this driver's own device -- and genpd power transitions run at _noirq
> time, where runtime PM is disabled and pm_runtime_resume_and_get() returns
> -EACCES.
>
> [...]
Applied to v7.4-next/clk, thanks!
[1/1] clk: mediatek: mt8173-mfgtop: do not use the clk API from power_on
commit: 8f1cb3fc8cae44baffef31d73c772dc77e4a9061
Cheers,
Angelo