Re: [PATCH] soc: qcom: gsbi: fix double disable caused by devm
From: Bjorn Andersson
Date: Mon Oct 27 2025 - 10:18:17 EST
On Tue, 21 Oct 2025 00:02:15 +0800, Haotian Zhang wrote:
> In the commit referenced by the Fixes tag, devm_clk_get_enabled() was
> introduced to replace devm_clk_get() and clk_prepare_enable(). While
> the clk_disable_unprepare() call in the error path was correctly
> removed, the one in the remove function was overlooked, leading to a
> double disable issue.
>
> Remove the redundant clk_disable_unprepare() call from gsbi_remove()
> to fix this issue. Since all resources are now managed by devres
> and will be automatically released, the remove function serves no purpose
> and can be deleted entirely.
>
> [...]
Applied, thanks!
[1/1] soc: qcom: gsbi: fix double disable caused by devm
commit: 2286e18e3937c69cc103308a8c1d4898d8a7b04f
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>