https://github.com/torvalds/linux
Revision c1ae18d313e24bc7833e1749dd36dba5d47f259c authored by Tim Harvey on 27 August 2020, 17:20:24 UTC, committed by Guenter Roeck on 27 August 2020, 19:47:55 UTC
The GSC registers report temperature in decidegrees celcius so we
need to scale it to represent the hwmon sysfs API of millidegrees.

Cc: stable@vger.kernel.org
Fixes: 3bce5377ef66 ("hwmon: Add Gateworks System Controller support")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://lore.kernel.org/r/1598548824-16898-1-git-send-email-tharvey@gateworks.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
1 parent cecf756
History
Tip revision: c1ae18d313e24bc7833e1749dd36dba5d47f259c authored by Tim Harvey on 27 August 2020, 17:20:24 UTC
hwmon: (gsc-hwmon) Scale temperature to millidegrees
Tip revision: c1ae18d

back to top