diff options
author | Tim Harvey | 2023-06-06 08:30:04 -0700 |
---|---|---|
committer | Greg Kroah-Hartman | 2023-07-19 16:21:26 +0200 |
commit | 421d35912766ecbf8fb9474bf78ec20bfc292589 (patch) | |
tree | 4637868e62fb213508a766945dcdb5ce763f5b11 /drivers/ras | |
parent | 9e633411d1438f27648412bc6429d11a0e09f980 (diff) |
hwmon: (gsc-hwmon) fix fan pwm temperature scaling
[ Upstream commit a6d80df47ee2c69db99e4f2f8871aa4db154620b ]
The GSC fan pwm temperature register is in centidegrees celcius but the
Linux hwmon convention is to use milidegrees celcius. Fix the scaling.
Fixes: 3bce5377ef66 ("hwmon: Add Gateworks System Controller support")
Signed-off-by: Tim Harvey <tharvey@gateworks.com>
Link: https://lore.kernel.org/r/20230606153004.1448086-1-tharvey@gateworks.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/ras')
0 files changed, 0 insertions, 0 deletions