Re: [PATCH -next] PM / devfreq: tegra30: Add missing clk_disable_unprepare in devm_tegra_devfreq_init_hw

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 :)





[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux