]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
hwmon: (asus-ec-sensors) Fix T_Sensor for PRIME X670E-PRO WIFI
authorCorey Hickey <bugfood-c@fatooh.org>
Tue, 31 Mar 2026 21:49:06 +0000 (14:49 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 1 Apr 2026 14:45:57 +0000 (07:45 -0700)
commitcffff6df669a438ecac506dadd49a53d4475a796
tree1cdc3016304b7ddb35a4c4539ef33e79b19a2525
parent09773978879ecf71a7990fe9a28ce4eb92bce645
hwmon: (asus-ec-sensors) Fix T_Sensor for PRIME X670E-PRO WIFI

On the Asus PRIME X670E-PRO WIFI, the driver reports a constant value of
zero for T_Sensor. On this board, the register for T_Sensor is at a
different address, as found by experimentation and confirmed by
comparison to an independent temperature reading.

* sensor disconnected: -62.0°C
* ambient temperature: +22.0°C
* held between fingers: +30.0°C

Introduce SENSOR_TEMP_T_SENSOR_ALT1 to support the PRIME X670E-PRO WIFI
without causing a regression for other 600-series boards

Fixes: e0444758dd1b ("hwmon: (asus-ec-sensors) add PRIME X670E-PRO WIFI")
Signed-off-by: Corey Hickey <bugfood-c@fatooh.org>
Link: https://lore.kernel.org/r/20260331215414.368785-1-bugfood-ml@fatooh.org
[groeck: Fixed typo, updated Fixes: reference]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/asus-ec-sensors.c