From: Justin Maggard Date: Thu, 11 May 2017 20:25:20 +0000 (-0700) Subject: Fix up support for IT8625E X-Git-Tag: v1.0~23^2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a0037eceb236f8bef5f850da40b32a519dbb1caa;p=groeck-it87 Fix up support for IT8625E Add missing scaling feature and fix broken temp type detection on temp 1-3 sensors. --- 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) {