Re: [RFC PATCH] thermal: rzg3e: Propagate reset assertion failure from suspend
From: Daniel Lezcano
Date: Tue Sep 29 2026 - 07:57:57 EST
On 8/28/26 11:21, Pengpeng Hou wrote:
rzg3e_thermal_suspend() powers off an active sensor and then ignores
failure to assert its reset. System sleep can therefore continue
without the clean reset state expected by resume.
Return the reset error and, when the sensor had been active, try to
restore power before failing suspend. This remains an RFC because a
reset assertion failure can represent partial hardware state and the
preferred recovery policy needs platform confirmation.
The issue was identified via static analysis and manually reviewed.
Assisted-by: LLM
Signed-off-by: Pengpeng Hou <pengpeng@xxxxxxxxxxx>
---
Please resend without the RFC prefix and with Claudiu tag
Thanks