Skip to content

Commit 94746b0

Browse files
committed
hwmon: (lm90) Mark alert as broken for MAX6680
Experiments with MAX6680 and MAX6681 show that the alert function of those chips is broken, similar to other chips supported by the lm90 driver. Mark it accordingly. Fixes: 4667bcb ("hwmon: (lm90) Introduce chip parameter structure") Signed-off-by: Guenter Roeck <[email protected]>
1 parent a53fff9 commit 94746b0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/hwmon/lm90.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ static const struct lm90_params lm90_params[] = {
419419
},
420420
[max6680] = {
421421
.flags = LM90_HAVE_OFFSET | LM90_HAVE_CRIT
422-
| LM90_HAVE_CRIT_ALRM_SWP,
422+
| LM90_HAVE_CRIT_ALRM_SWP | LM90_HAVE_BROKEN_ALERT,
423423
.alert_alarms = 0x7c,
424424
.max_convrate = 7,
425425
},

0 commit comments

Comments
 (0)