summaryrefslogtreecommitdiff
path: root/drivers/hwmon/dme1737.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-11-15 13:40:38 +0400
committerJean Delvare <khali@endymion.delvare>2013-11-15 13:40:38 +0400
commite41fae2b1ed8c78283d73651cd65be0228c0dd1c (patch)
tree6e4579e3a7ea8baca3af19975bc72a983afe2466 /drivers/hwmon/dme1737.c
parent5e01dc7b26d9f24f39abace5da98ccbd6a5ceb52 (diff)
downloadlinux-e41fae2b1ed8c78283d73651cd65be0228c0dd1c.tar.xz
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 <khali@linux-fr.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Cc: stable@vger.kernel.org Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/dme1737.c')
0 files changed, 0 insertions, 0 deletions