Commit dba1285c authored by Guenter Roeck's avatar Guenter Roeck Committed by Zheng Zengkai
Browse files

hwmom: (lm90) Fix citical alarm status for MAX6680/MAX6681

stable inclusion
from stable-v5.10.89
commit ec1d222d37eaf6b2d2dbdcf2c4eb7903fd74fc1e
bugzilla: 186140 https://gitee.com/openeuler/kernel/issues/I4S8HA

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=ec1d222d37eaf6b2d2dbdcf2c4eb7903fd74fc1e



--------------------------------

commit da7dc056 upstream.

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: default avatarGuenter Roeck <linux@roeck-us.net>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: default avatarChen Jun <chenjun102@huawei.com>
Signed-off-by: default avatarZheng Zengkai <zhengzengkai@huawei.com>
parent fd5b212c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment