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 /drivers/spi | |
parent | hwmon: (w83795) Read the intrusion state properly (diff) | |
download | linux-793c51d5fdfa76043f1221fdaa022f50146e8386.tar.xz linux-793c51d5fdfa76043f1221fdaa022f50146e8386.zip |
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 'drivers/spi')
0 files changed, 0 insertions, 0 deletions