diff options
author | Eugene Shalygin <eugene.shalygin@gmail.com> | 2022-02-04 17:30:45 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-02-28 02:03:18 +0100 |
commit | 339f8a998f58e8693f73429e7597f2ffc9b93ec5 (patch) | |
tree | 4b3982dcd0cf2d86108b7fb3c6b10f7dd9f789ba /drivers/hwmon/nct6775.c | |
parent | hwmon: (asus-ec-sensors) fix a typo in asus_ec_probe() (diff) | |
download | linux-339f8a998f58e8693f73429e7597f2ffc9b93ec5.tar.xz linux-339f8a998f58e8693f73429e7597f2ffc9b93ec5.zip |
hwmon: (asus-ec-sensors) read sensors as signed ints
Temperature sensor readings are signed, which is hinted by their blank
value (oxd8, 216 as unsigned and -40 as signed). T_Sensor, Crosshair
VIII Hero, and a freezer were used to confirm that.
Here we read fan sensors as signed too, because with their typical
values and 2-byte width, I can't tell a difference between signed and
unsigned, as I don't have a high speed chipset fan.
Signed-off-by: Eugene Shalygin <eugene.shalygin@gmail.com>
Link: https://lore.kernel.org/r/20220204163045.576903-1-eugene.shalygin@gmail.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/nct6775.c')
0 files changed, 0 insertions, 0 deletions