Commit 4610efa4 authored by Tim Harvey's avatar Tim Harvey Committed by Greg Kroah-Hartman
Browse files

hwmon: (gsc-hwmon) fix fan pwm temperature scaling



[ Upstream commit a6d80df4 ]

The GSC fan pwm temperature register is in centidegrees celcius but the
Linux hwmon convention is to use milidegrees celcius. Fix the scaling.

Fixes: 3bce5377 ("hwmon: Add Gateworks System Controller support")
Signed-off-by: default avatarTim Harvey <tharvey@gateworks.com>
Link: https://lore.kernel.org/r/20230606153004.1448086-1-tharvey@gateworks.com


Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 6e12311d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment