29.08.2024 17:54, Thierry Reding пишет: > On Sat, Aug 03, 2024 at 02:37:48PM GMT, Gaosheng Cui wrote: >> Add the missing clk_disable_unprepare() before return in >> devm_tegra_devfreq_init_hw(). >> >> Signed-off-by: Gaosheng Cui <cuigaosheng1@xxxxxxxxxx> >> --- >> drivers/devfreq/tegra30-devfreq.c | 5 ++++- >> 1 file changed, 4 insertions(+), 1 deletion(-) > > Acked-by: Thierry Reding <treding@xxxxxxxxxx> devm_tegra_devfreq_deinit_hw() is invoked when devm_add_action_or_reset() fails, disabling the clock. There is no missing clk_disable_unprepare(). Patch is wrong :)