From: Guenter Roeck Date: Fri, 15 Nov 2013 09:40:38 +0000 (+0100) Subject: hwmon: (lm90) Fix max6696 alarm handling X-Git-Tag: v3.2.54~120 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f35b19b0a1f3cd9e4e308e3848ee67b5acf95ee3;p=pandora-kernel.git hwmon: (lm90) Fix max6696 alarm handling commit e41fae2b1ed8c78283d73651cd65be0228c0dd1c upstream. Bit 2 of status register 2 on MAX6696 (external diode 2 open) sets ALERT; the bit thus has to be listed in alert_alarms. Also display a message in the alert handler if the condition is encountered. Even though not all overtemperature conditions cause ALERT to be set, we should not ignore them in the alert handler. Display messages for all out-of-range conditions. Reported-by: Jean Delvare Signed-off-by: Guenter Roeck Signed-off-by: Jean Delvare Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed