]> git.sur5r.net Git - groeck-it87/commitdiff
Fix scaling for IT8732F
authorGuenter Roeck <linux@roeck-us.net>
Tue, 27 Feb 2018 03:19:09 +0000 (19:19 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Tue, 27 Feb 2018 03:19:09 +0000 (19:19 -0800)
3.3V channels report the wrong voltages on IT8732F since the scaling bit
is not set.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c

diff --git a/it87.c b/it87.c
index ce908e396a29d864e1c3c3c4b294c31bcbb175e8..410321b0372b875ce1c6345d4da189f7b52165d8 100644 (file)
--- a/it87.c
+++ b/it87.c
@@ -466,7 +466,7 @@ static const struct it87_devices it87_devices[] = {
                .features = FEAT_NEWER_AUTOPWM | FEAT_16BIT_FANS
                  | FEAT_TEMP_OLD_PECI | FEAT_TEMP_PECI
                  | FEAT_10_9MV_ADC | FEAT_IN7_INTERNAL | FEAT_FOUR_FANS
-                 | FEAT_FOUR_PWM | FEAT_FANCTL_ONOFF,
+                 | FEAT_FOUR_PWM | FEAT_FANCTL_ONOFF | FEAT_SCALING,
                .num_temp_limit = 3,
                .num_temp_offset = 3,
                .num_temp_map = 3,