diff options
| author | Can Peng <pengcan@kylinos.cn> | 2026-07-22 15:56:25 +0800 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-08-07 17:18:50 +0200 |
| commit | fcbf9964b67a6d6704c50ed28daa24c3b164f01c (patch) | |
| tree | a388403c7b536464c5caa11037a70223d3fba907 /include/linux/timerqueue.h | |
| parent | 6b73e78462ad420a61ef0bede534c0fecb0d7ba6 (diff) | |
thermal/drivers/qoriq: Disable clock on resume failure
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>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Link: https://patch.msgid.link/20260722075625.452684-1-pengcan@kylinos.cn
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions
