From a0037eceb236f8bef5f850da40b32a519dbb1caa Mon Sep 17 00:00:00 2001 From: Justin Maggard Date: Thu, 11 May 2017 13:25:20 -0700 Subject: [PATCH] Fix up support for IT8625E Add missing scaling feature and fix broken temp type detection on temp 1-3 sensors. --- it87.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/it87.c b/it87.c index e5328aa..a489cab 100644 --- a/it87.c +++ b/it87.c @@ -599,7 +599,7 @@ static const struct it87_devices it87_devices[] = { .features = FEAT_NEWER_AUTOPWM | FEAT_16BIT_FANS | FEAT_TEMP_OFFSET | FEAT_AVCC3 | FEAT_NEW_TEMPMAP | FEAT_11MV_ADC | FEAT_IN7_INTERNAL | FEAT_SIX_FANS - | FEAT_SIX_PWM | FEAT_BANK_SEL, + | FEAT_SIX_PWM | FEAT_BANK_SEL | FEAT_SCALING, .num_temp_limit = 6, }, [it8628] = { @@ -1295,6 +1295,8 @@ static int get_temp_type(struct it87_data *data, int index) } break; case it8625: + if (index < 3) + break; case it8655: case it8665: if (src1 < 3) { -- 2.39.2