diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-27 22:55:51 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-12-27 22:55:51 +0000 |
commit | f50d2de7a66b93911ba99655c875f1347c423430 (patch) | |
tree | 7cf2353073ecd0e58e9e4c6e883a8b666f1b9783 /sys/dev/i2c/adm1021.c | |
parent | 0da93514badadb8efa5c006e48e4a0f54c1cb253 (diff) |
mark xeon internal sensor invalid each time
Diffstat (limited to 'sys/dev/i2c/adm1021.c')
-rw-r--r-- | sys/dev/i2c/adm1021.c | 5 |
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); } |