hwmon: (lm90) Fix max6696 alarm handling
Hi Guenter,
Quoted 8 lines · Guenter Roeck
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.
Thanks for the fix, it looks good, applied.
Quoted 5 lines
Reported-by Jean Delvare <[email protected]>Signed-off-by Guenter Roeck <[email protected]>---
Not sure how this fits into the ongoing restructuring. I may have to apply some of the other patches first; let me know.
As this is a bug fix, I want to apply it first so that it can be backported easily. In fact I will even request it to go to the stable kernels, as I think it is important.
So the other patches (from Wei) will indeed need some adjustments to go on top of it. I'll take care of that myself.
Thanks,
Signature · 6 lines
Jean Delvare _______________________________________________ lm-sensors mailing list [email protected] http://lists.lm-sensors.org/mailman/listinfo/lm-sensors