From: Guenter Roeck Date: Wed, 7 Mar 2012 02:23:20 +0000 (-0800) Subject: it87: Do not attempt to re-route VIN7 X-Git-Tag: v1.0~88 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f9df92eaacfa618878bdc2934eaec3f057ee5fc5;p=groeck-it87 it87: Do not attempt to re-route VIN7 Re-routing VIN7 does not work as expected, so better leave it alone. Signed-off-by: Guenter Roeck --- diff --git a/it87.c b/it87.c index 08fd2eb..fd0f9ff 100644 --- 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);