From: Guenter Roeck Date: Fri, 15 Nov 2013 09:40:38 +0000 (+0100) Subject: hwmon: (lm90) Fix max6696 alarm handling X-Git-Tag: v3.13-rc1~67^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e41fae2b1ed8c78283d73651cd65be0228c0dd1c;p=pandora-kernel.git hwmon: (lm90) Fix max6696 alarm handling 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 Cc: stable@vger.kernel.org Signed-off-by: Jean Delvare --- Reading git-diff-tree failed