Re: [PATCH] thermal/drivers/qoriq: Disable clock on resume failure

Daniel Lezcano <[email protected]>
Newsgroups org.kernel.vger.linux-pm,org.kernel.vger.linux-kernel,org.kernel.vger.stable
Message-ID <[email protected]>
On 7/22/26 09:56, Can Peng wrote:
> qoriq_tmu_resume() enables the TMU clock before clearing the
> power-down bit and enabling monitoring.
> 
> If either register update fails, the function returns with the clock
> still enabled. This leaves the clock enable count unbalanced after a
> failed resume.
> 
> Disable the clock on those failure paths before returning the error.
> 
> Fixes: 51904045d4aa ("thermal: qoriq: Add clock operations")
> Cc: [email protected]
> Signed-off-by: Can Peng <[email protected]>
> ---

Applied, thanks
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.