From f9df92eaacfa618878bdc2934eaec3f057ee5fc5 Mon Sep 17 00:00:00 2001 From: Guenter Roeck Date: Tue, 6 Mar 2012 18:23:20 -0800 Subject: [PATCH] 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 --- it87.c | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) 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); -- 2.39.5