diff options
| author | Stanislav Aleksandrov <lightofmysoul@gmail.com> | 2026-11-08 03:59:54 +0000 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-11-08 17:45:32 -0800 |
| commit | 95bddc5252a4c0a2ed9d62e7e53a3461265d9603 (patch) | |
| tree | a39d8c552fc7ed07305de96ae3193ddc7193f749 /tools/perf/scripts/python | |
| parent | 028ed93145d9be88eee670088ef13482b5d36c1a (diff) | |
hwmon: (max31760) Leave standby mode at probe
The driver never clears the standby bit (CR2_STBY) during probe.
While max31760_resume() clears this bit on resume, probe only
configured CR2_ALERTS.
If the chip was left in standby (for example, by boot firmware or a
previously running OS before a warm reboot), it remains in standby:
temperature sensing, fan speed counting, and PWM output are halted.
This occurs on the Samsung Galaxy XR, where the bootloader places the
chip in standby during boot.
Clear CR2_STBY alongside setting CR2_ALERTS in probe.
Fixes: 38b04ad02d0d ("drivers: hwmon: Add max31760 fan speed controller driver")
Cc: stable@vger.kernel.org
Signed-off-by: Stanislav Aleksandrov <lightofmysoul@gmail.com>
Link: https://patch.msgid.link/20261108-max31760-fixes-v1-2-a61450463059@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
