2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-25 05:34:00 +08:00
linux-next/drivers/thermal/int340x_thermal
lan,Tianyu 225112a569 Thermal/int3403: Fix thermal hysteresis unit conversion
Thermal hysteresis represents a temperature difference.
But the original code treats it as a temperature value,
Convert it from tenths of degree Kelvin to Milli-Celsius
by deducing 273200. This is not right.

Kelvin and Celsius have same degree size. From temperature
difference view, the conversion between tenths of degree
Kelvin unit and Milli-Celsius unit is just to multiply 100.

Signed-off-by: Lan Tianyu <tianyu.lan@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2014-11-04 19:17:32 -04:00
..
acpi_thermal_rel.c Thermal: int340x_thermal: expose acpi thermal relationship tables 2014-10-11 09:35:48 +08:00
acpi_thermal_rel.h Thermal: int340x_thermal: expose acpi thermal relationship tables 2014-10-11 09:35:48 +08:00
int3400_thermal.c Thermal: int3400_thermal: use acpi_thermal_rel parsing APIs 2014-10-11 09:35:49 +08:00
int3402_thermal.c Thermal: introduce INT3402 thermal driver 2014-10-10 14:02:25 +08:00
int3403_thermal.c Thermal/int3403: Fix thermal hysteresis unit conversion 2014-11-04 19:17:32 -04:00
Makefile Thermal: int340x_thermal: expose acpi thermal relationship tables 2014-10-11 09:35:48 +08:00