summaryrefslogtreecommitdiff
path: root/drivers/clk/clk-stm32f4.c
diff options
context:
space:
mode:
authorArmin Wolf <W_Armin@gmx.de>2023-02-18 12:53:18 +0100
committerHans de Goede <hdegoede@redhat.com>2023-03-07 11:37:27 +0100
commit0331b1b0ba65376ecf1c69414aa7696fef0930cb (patch)
tree4b18e7cc6f62c66a1985488b374dc6c1fc1f12b9 /drivers/clk/clk-stm32f4.c
parent001f61c4688f1dad18cfaa35ae364b35fb3cd66c (diff)
platform/x86: dell-ddv: Fix temperature scaling
After using the built-in UEFI hardware diagnostics to compare the measured battery temperature, i noticed that the temperature is actually expressed in tenth degree kelvin, similar to the SBS-Data standard. For example, a value of 2992 is displayed as 26 degrees celsius. Fix the scaling so that the correct values are being displayed. Tested on a Dell Inspiron 3505. Fixes: a77272c16041 ("platform/x86: dell: Add new dell-wmi-ddv driver") Signed-off-by: Armin Wolf <W_Armin@gmx.de> Link: https://lore.kernel.org/r/20230218115318.20662-2-W_Armin@gmx.de Signed-off-by: Hans de Goede <hdegoede@redhat.com> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'drivers/clk/clk-stm32f4.c')
0 files changed, 0 insertions, 0 deletions