6d4337eb09
commit f37fabb8643eaf8e3b613333a72f683770c85eca upstream. In the critical sysfs entry the thermal hwmon was returning wrong temperature to the user-space. It was reporting the temperature of the first trip point instead of the temperature of critical trip point. For example: /sys/class/hwmon/hwmon0/temp1_crit:50000 /sys/class/thermal/thermal_zone0/trip_point_0_temp:50000 /sys/class/thermal/thermal_zone0/trip_point_0_type:active /sys/class/thermal/thermal_zone0/trip_point_3_temp:120000 /sys/class/thermal/thermal_zone0/trip_point_3_type:critical Since commit |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
armada_thermal.c | ||
cpu_cooling.c | ||
db8500_cpufreq_cooling.c | ||
db8500_thermal.c | ||
dove_thermal.c | ||
exynos_thermal.c | ||
fair_share.c | ||
intel_powerclamp.c | ||
kirkwood_thermal.c | ||
lmh_interface.c | ||
lmh_interface.h | ||
lmh_lite.c | ||
msm-tsens.c | ||
msm_thermal-dev.c | ||
msm_thermal.c | ||
qpnp-adc-tm.c | ||
qpnp-temp-alarm.c | ||
rcar_thermal.c | ||
spear_thermal.c | ||
ss_thermal.c | ||
ss_thermal.h | ||
step_wise.c | ||
supply_lm_core.c | ||
thermal_core.c | ||
thermal_core.h | ||
user_space.c |