Skip to content

Commit a53fff9

Browse files
committed
hwmon: (lm90) Mark alert as broken for MAX6654
Experiments with MAX6654 show that its alert function is broken, similar to other chips supported by the lm90 driver. Mark it accordingly. Fixes: 229d495 ("hwmon: (lm90) Add max6654 support to lm90 driver") Cc: Josh Lehan <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
1 parent bc341a1 commit a53fff9

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/hwmon/lm90.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,7 @@ static const struct lm90_params lm90_params[] = {
400400
.reg_local_ext = MAX6657_REG_R_LOCAL_TEMPL,
401401
},
402402
[max6654] = {
403+
.flags = LM90_HAVE_BROKEN_ALERT,
403404
.alert_alarms = 0x7c,
404405
.max_convrate = 7,
405406
.reg_local_ext = MAX6657_REG_R_LOCAL_TEMPL,

0 commit comments

Comments
 (0)