summaryrefslogtreecommitdiff
path: root/sys/dev/i2c/adm1021.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-27 22:55:51 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2005-12-27 22:55:51 +0000
commitf50d2de7a66b93911ba99655c875f1347c423430 (patch)
tree7cf2353073ecd0e58e9e4c6e883a8b666f1b9783 /sys/dev/i2c/adm1021.c
parent0da93514badadb8efa5c006e48e4a0f54c1cb253 (diff)
mark xeon internal sensor invalid each time
Diffstat (limited to 'sys/dev/i2c/adm1021.c')
-rw-r--r--sys/dev/i2c/adm1021.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/i2c/adm1021.c b/sys/dev/i2c/adm1021.c
index ad9c2dbad36..b6f77c837da 100644
--- a/sys/dev/i2c/adm1021.c
+++ b/sys/dev/i2c/adm1021.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: adm1021.c,v 1.13 2005/12/27 22:18:44 deraadt Exp $ */
+/* $OpenBSD: adm1021.c,v 1.14 2005/12/27 22:55:50 deraadt Exp $ */
/*
* Copyright (c) 2005 Theo de Raadt
@@ -166,7 +166,8 @@ admtemp_refresh(void *arg)
sc->sc_sensor[ADMTEMP_INT].flags &= ~SENSOR_FINVALID;
}
}
- }
+ } else
+ sc->sc_sensor[ADMTEMP_INT].flags &= ~SENSOR_FINVALID;
iic_release_bus(sc->sc_tag, 0);
}