From: Guenter Roeck Date: Sat, 3 Mar 2012 17:07:39 +0000 (-0800) Subject: it87: IT8783E/F only support three fans X-Git-Tag: v1.0~91 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3a7f32d3b15d7e2175f08f030bf5203ee4136515;p=groeck-it87 it87: IT8783E/F only support three fans Signed-off-by: Guenter Roeck --- diff --git a/it87.c b/it87.c index 4421f2a..998cbd4 100644 --- a/it87.c +++ b/it87.c @@ -2253,8 +2253,8 @@ static void __devinit it87_init_device(struct platform_device *pdev) it87_write_value(data, IT87_REG_FAN_16BIT, tmp | 0x07); } - /* IT8705F only supports three fans. */ - if (data->type != it87) { + /* IT8705F and IT8783E/F only support three fans. */ + if (data->type != it87 && data->type != it8783) { if (tmp & (1 << 4)) data->has_fan |= (1 << 3); /* fan4 enabled */ if (tmp & (1 << 5))