diff options
| author | Pengpeng Hou <hppiscas@163.com> | 2026-10-14 11:18:14 +0800 |
|---|---|---|
| committer | Daniel Lezcano <daniel.lezcano@kernel.org> | 2026-10-14 09:46:07 +0200 |
| commit | 2dc1f296b5754dd2441fc8b6613a362a47f6b98f (patch) | |
| tree | d00e86dc11653383cd1205a7e7b20b2693ef9c35 /include/uapi/linux/netdev.h | |
| parent | 82bb005cd9cf5a9df4cfe4a52db90346ac5fd17a (diff) | |
| download | linux-next-2dc1f296b5754dd2441fc8b6613a362a47f6b98f.tar.gz linux-next-2dc1f296b5754dd2441fc8b6613a362a47f6b98f.zip | |
thermal/drivers/rzg3e: Propagate reset assertion failure from suspend
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 is best-effort recovery:
reset assertion failure may leave partial hardware state, so restoring
power is not guaranteed to succeed. Preserve the original reset error.
The issue was found by our static-analysis tool and manually reviewed.
Fixes: dc67521c20b7 ("thermal/drivers/renesas/rzg3e: Fix add thermal driver for the Renesas RZ/G3E SoC")
Assisted-by: gpt 5
Signed-off-by: Pengpeng Hou <hppiscas@163.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@kernel.org>
Reviewed-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Link: https://patch.msgid.link/20261014031814.7230-1-hppiscas@163.com
Diffstat (limited to 'include/uapi/linux/netdev.h')
0 files changed, 0 insertions, 0 deletions
