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

From: Daniel Lezcano

Date: Fri Aug 07 2026 - 09:17:12 EST


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@xxxxxxxxxxxxxxx
Signed-off-by: Can Peng <pengcan@xxxxxxxxxx>
---

Applied, thanks