diff options
author | Guenter Roeck <linux@roeck-us.net> | 2022-01-07 20:05:23 +0100 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-01-24 03:21:27 +0100 |
commit | a53fff96f35763d132a36c620b183fdf11022d7a (patch) | |
tree | 0bdd51e504a42ed69d238c71cb242758f49cf470 /drivers/hwmon | |
parent | hwmon: (lm90) Re-enable interrupts after alert clears (diff) | |
download | linux-a53fff96f35763d132a36c620b183fdf11022d7a.tar.xz linux-a53fff96f35763d132a36c620b183fdf11022d7a.zip |
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: 229d495d8189 ("hwmon: (lm90) Add max6654 support to lm90 driver")
Cc: Josh Lehan <krellan@google.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon')
-rw-r--r-- | drivers/hwmon/lm90.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/lm90.c b/drivers/hwmon/lm90.c index e4ecf3440d7c..280ae5f58187 100644 --- a/drivers/hwmon/lm90.c +++ b/drivers/hwmon/lm90.c @@ -400,6 +400,7 @@ static const struct lm90_params lm90_params[] = { .reg_local_ext = MAX6657_REG_R_LOCAL_TEMPL, }, [max6654] = { + .flags = LM90_HAVE_BROKEN_ALERT, .alert_alarms = 0x7c, .max_convrate = 7, .reg_local_ext = MAX6657_REG_R_LOCAL_TEMPL, |