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 <linux@roeck-us.net>
This commit is contained in:
Guenter Roeck
2012-03-06 18:23:20 -08:00
parent 0bb800b2da
commit f9df92eaac

13
it87.c
View File

@@ -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);