]> git.sur5r.net Git - groeck-it87/commitdiff
it87: IT8781F and IT8782F support monitoring 5 fans
authorGuenter Roeck <linux@roeck-us.net>
Sat, 3 Mar 2012 20:05:01 +0000 (12:05 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Sat, 3 Mar 2012 20:05:01 +0000 (12:05 -0800)
... according to the summary datasheets available at the ITE web site.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c

diff --git a/it87.c b/it87.c
index 74ac8e39a67224359d56f27158a0b0868547425d..08fd2eb205db0f496dea60c5890d0a1875cd14a7 100644 (file)
--- a/it87.c
+++ b/it87.c
@@ -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))