it87: IT8781F and IT8782F support monitoring 5 fans

... according to the summary datasheets available at the ITE web site.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck
2012-03-03 12:05:01 -08:00
parent cc3bd8d163
commit 0bb800b2da

3
it87.c
View File

@@ -2270,8 +2270,7 @@ static void __devinit it87_init_device(struct platform_device *pdev)
tmp | 0x07);
}
/* IT8705F and IT8783E/F only support three fans. */
if (data->type != it87 && data->type != it8781
&& data->type != it8782 && data->type != it8783) {
if (data->type != it87 && data->type != it8783) {
if (tmp & (1 << 4))
data->has_fan |= (1 << 3); /* fan4 enabled */
if (tmp & (1 << 5))