https://github.com/torvalds/linux
Revision cf6b9ea661ef4f20b4a4cba1a232a732339aae2c authored by Jean Delvare on 15 November 2010, 20:38:56 UTC, committed by Jean Delvare on 15 November 2010, 20:38:56 UTC
We can't read the intrusion state from the real-time alarm registers
as we do for all other alarm flags, because real-time alarm bits don't
stick (by definition) and the intrusion state has to stick until
explicitly cleared (otherwise it has little value.)

So we have to use the interrupt status register instead, which is read
from the same address but with a configuration bit flipped in another
register.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Acked-by: Guenter Roeck <guenter.roeck@ericsson.com>
1 parent 2a2d27d
History
Tip revision: cf6b9ea661ef4f20b4a4cba1a232a732339aae2c authored by Jean Delvare on 15 November 2010, 20:38:56 UTC
hwmon: (w83795) Read the intrusion state properly
Tip revision: cf6b9ea
File Mode Size
Documentation
arch
block
crypto
drivers
firmware
fs
include
init
ipc
kernel
lib
mm
net
samples
scripts
security
sound
tools
usr
virt
.gitignore -rw-r--r-- 936 bytes
.mailmap -rw-r--r-- 3.9 KB
COPYING -rw-r--r-- 18.3 KB
CREDITS -rw-r--r-- 91.8 KB
Kbuild -rw-r--r-- 2.4 KB
Kconfig -rw-r--r-- 252 bytes
MAINTAINERS -rw-r--r-- 177.9 KB
Makefile -rw-r--r-- 50.9 KB
README -rw-r--r-- 17.1 KB
REPORTING-BUGS -rw-r--r-- 3.3 KB

README

back to top