]> git.sur5r.net Git - groeck-it87/commitdiff
it87: Do not attempt to re-route VIN7
authorGuenter Roeck <linux@roeck-us.net>
Wed, 7 Mar 2012 02:23:20 +0000 (18:23 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Wed, 7 Mar 2012 02:23:20 +0000 (18:23 -0800)
Re-routing VIN7 does not work as expected, so better leave it alone.

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

diff --git a/it87.c b/it87.c
index 08fd2eb205db0f496dea60c5890d0a1875cd14a7..fd0f9ffe86cd155da871f1394385b889e6a0ba22 100644 (file)
--- a/it87.c
+++ b/it87.c
@@ -1780,17 +1780,8 @@ static int __init it87_find(unsigned short *address,
                        ; /* No VIN6 */
 
                /* VIN7 */
-               if ((reg27 & (1 << 2)) || (reg2C & (1 << 2))) {
-                       /*
-                        * If the external VIN7 pin is disabled, route it to the
-                        * internal VCCH5V if that is not already done.
-                        */
-                       if (!(reg2C & (1 << 1))) {
-                               reg2C |= (1 << 1);
-                               superio_outb(IT87_SIO_PINX2_REG, reg2C);
-                               pr_notice("Routing internal VCCH to in7\n");
-                       }
-               }
+               if ((reg27 & (1 << 2)) || (reg2C & (1 << 2)))
+                       ; /* No VIN7 */
 
                if (reg2C & (1 << 0))
                        sio_data->internal |= (1 << 0);