summaryrefslogtreecommitdiffstats
path: root/drivers/spi
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-11-15 21:38:57 +0100
committerJean Delvare <khali@endymion.delvare>2010-11-15 21:38:57 +0100
commit793c51d5fdfa76043f1221fdaa022f50146e8386 (patch)
tree7e6bc3676e24fa1ccadf5b4621f868f7ecff2940 /drivers/spi
parenthwmon: (w83795) Read the intrusion state properly (diff)
downloadlinux-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