From: Jean Delvare Date: Mon, 15 Nov 2010 20:38:56 +0000 (+0100) Subject: hwmon: (w83795) Read the intrusion state properly X-Git-Tag: v2.6.37-rc2~3^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cf6b9ea661ef4f20b4a4cba1a232a732339aae2c;p=pandora-kernel.git hwmon: (w83795) Read the intrusion state properly 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 Acked-by: Guenter Roeck --- Reading git-diff-tree failed