IT8607 does not support the 1st fan, only fan2-3

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck
2017-07-23 07:29:38 -07:00
parent 0459e7fb72
commit beecac84d9

9
it87.c
View File

@@ -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,