]> git.sur5r.net Git - groeck-it87/commitdiff
it87: VIN7 does not depend on bit 2 of reg2C
authorGuenter Roeck <linux@roeck-us.net>
Thu, 8 Mar 2012 02:29:19 +0000 (18:29 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 8 Mar 2012 02:29:19 +0000 (18:29 -0800)
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
it87.c

diff --git a/it87.c b/it87.c
index fd0f9ffe86cd155da871f1394385b889e6a0ba22..a7ff7dc89cd2e345ed6314bd72d66c0a854d38f3 100644 (file)
--- a/it87.c
+++ b/it87.c
@@ -1779,8 +1779,11 @@ static int __init it87_find(unsigned short *address,
                if ((reg27 & (1 << 1)) || (reg2C & (1 << 2)))
                        ; /* No VIN6 */
 
-               /* VIN7 */
-               if ((reg27 & (1 << 2)) || (reg2C & (1 << 2)))
+               /*
+                * VIN7
+                * Does not depend on bit 2 of Reg2C, contrary to datasheet.
+                */
+               if (reg27 & (1 << 2))
                        ; /* No VIN7 */
 
                if (reg2C & (1 << 0))