commit | 793c51d5fdfa76043f1221fdaa022f50146e8386 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Mon Nov 15 21:38:57 2010 +0100 |
committer | Jean Delvare <khali@endymion.delvare> | Mon Nov 15 21:38:57 2010 +0100 |
tree | 7e6bc3676e24fa1ccadf5b4621f868f7ecff2940 | |
parent | cf6b9ea661ef4f20b4a4cba1a232a732339aae2c [diff] |
hwmon: (w83795) Clear intrusion alarm immediately When asked to clear the intrusion alarm, do so immediately. We have to invalidate the cache to make sure the new status will be read. But we also have to read from the status register once to clear the pending alarm, as writing to CLR_CHS surprising won't clear it automatically. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>