diff options
author | Jean Delvare <khali@linux-fr.org> | 2010-11-15 21:38:57 +0100 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2010-11-15 21:38:57 +0100 |
commit | 793c51d5fdfa76043f1221fdaa022f50146e8386 (patch) | |
tree | 7e6bc3676e24fa1ccadf5b4621f868f7ecff2940 /include/linux/max17040_battery.h | |
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>
Diffstat (limited to 'include/linux/max17040_battery.h')
0 files changed, 0 insertions, 0 deletions