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
File Mode Size
Kconfig -rw-r--r-- 1.2 KB
Makefile -rw-r--r-- 351 bytes
vlan.c -rw-r--r-- 17.6 KB
vlan.h -rw-r--r-- 6.1 KB
vlan_core.c -rw-r--r-- 12.5 KB
vlan_dev.c -rw-r--r-- 22.4 KB
vlan_gvrp.c -rw-r--r-- 1.6 KB
vlan_mvrp.c -rw-r--r-- 1.8 KB
vlan_netlink.c -rw-r--r-- 7.7 KB
vlanproc.c -rw-r--r-- 7.5 KB
vlanproc.h -rw-r--r-- 572 bytes

back to top