From beecac84d9e6d3f2da3f5d63d70233ba2b18bf2b Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Sun, 23 Jul 2017 07:29:38 -0700 Subject: [PATCH] IT8607 does not support the 1st fan, only fan2-3 Signed-off-by: Guenter Roeck --- it87.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/it87.c b/it87.c index 04514b2..8fb14b9 100644 --- a/it87.c +++ b/it87.c @@ -3038,9 +3038,16 @@ static int __init it87_find(int sioaddr, unsigned short *address, if (reg29 & BIT(2)) sio_data->skip_fan |= BIT(1); - if (sio_data->type == it8603) { + switch (sio_data->type) { + case it8603: sio_data->skip_in |= BIT(5); /* No VIN5 */ sio_data->skip_in |= BIT(6); /* No VIN6 */ + break; + case it8607: + sio_data->skip_pwm |= BIT(0);/* No fan1 */ + sio_data->skip_fan |= BIT(0); + default: + break; } sio_data->beep_pin = superio_inb(sioaddr, -- 2.39.5