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