Skip to content

Commit 7bcb0c1

Browse files
groeckgregkh
authored andcommitted
hwmon: (lm90) Mark alert as broken for MAX6680
commit 94746b0 upstream. 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 <linux@roeck-us.net> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 925cbd5 commit 7bcb0c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/hwmon/lm90.c‎

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

0 commit comments

Comments
 (0)