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

back to top