hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681
authorGuenter Roeck <linux@roeck-us.net>
Sat, 27 Nov 2021 06:43:39 +0000 (22:43 -0800)
committerGuenter Roeck <linux@roeck-us.net>
Mon, 13 Dec 2021 00:22:53 +0000 (16:22 -0800)
commitda7dc0568491104c7acb632e9d41ddce9aaabbb1
treecff10f1724d78ea3287e95823ea8dba5c10ef9f2
parent16ba51b5dcd3f6dde2e51d5ccc86313119dcf889
hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681

Tests with a real chip and a closer look into the datasheet reveals
that the local and remote critical alarm status bits are swapped for
MAX6680/MAX6681.

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/lm90.c