From: Daniel Lezcano <daniel.lezcano@oss.qualcomm.com>
To: Can Peng <pengcan@kylinos.cn>,
rafael@kernel.org, daniel.lezcano@kernel.org
Cc: rui.zhang@intel.com, lukasz.luba@arm.com,
linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org,
stable@vger.kernel.org
Subject: Re: [PATCH] thermal/drivers/qoriq: Disable clock on resume failure
Date: Fri, 7 Aug 2026 15:05:23 +0200 [thread overview]
Message-ID: <d490d92c-01eb-4cc1-8b03-fe39ca087412@oss.qualcomm.com> (raw)
In-Reply-To: <20260722075625.452684-1-pengcan@kylinos.cn>
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: stable@vger.kernel.org
> Signed-off-by: Can Peng <pengcan@kylinos.cn>
> ---
Applied, thanks
prev parent reply other threads:[~2026-08-07 13:05 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-22 7:56 [PATCH] thermal/drivers/qoriq: Disable clock on resume failure Can Peng
2026-08-07 13:05 ` Daniel Lezcano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=d490d92c-01eb-4cc1-8b03-fe39ca087412@oss.qualcomm.com \
--to=daniel.lezcano@oss.qualcomm.com \
--cc=daniel.lezcano@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=lukasz.luba@arm.com \
--cc=pengcan@kylinos.cn \
--cc=rafael@kernel.org \
--cc=rui.zhang@intel.com \
--cc=stable@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox