summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue_types.h
diff options
context:
space:
mode:
authorCan Peng <pengcan@kylinos.cn>2026-07-22 16:49:09 +0800
committerDaniel Lezcano <daniel.lezcano@kernel.org>2026-07-27 16:38:43 +0200
commitbcc6d886e5006a4656901d2d7fb6a215c96068a0 (patch)
tree9660a8d05cb69ffcad998a1bc5b6baf9e969f326 /include/linux/timerqueue_types.h
parent0c569e22020f53ddfac0099b0aa193907bfbcd6f (diff)
thermal/drivers/imx: Disable clock on runtime resume failure
imx_thermal_runtime_resume() enables the thermal clock before powering up the sensor and enabling measurements. If either regmap_write() fails, the function returns with the clock still enabled. This leaves the clock enable count unbalanced after a failed runtime resume. Disable the clock on those failure paths before returning the error. Fixes: 4cf2ddf16e17 ("thermal/drivers/imx: Implement runtime PM support") Cc: stable@vger.kernel.org Signed-off-by: Can Peng <pengcan@kylinos.cn> Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org> Reviewed-by: Frank Li <Frank.Li@nxp.com> Link: https://patch.msgid.link/20260722084909.463437-1-pengcan@kylinos.cn
Diffstat (limited to 'include/linux/timerqueue_types.h')
0 files changed, 0 insertions, 0 deletions