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: NGuenter Roeck <linux@roeck-us.net> Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Signed-off-by: NZheng Zengkai <zhengzengkai@huawei.com>
Showing
想要评论请 注册 或 登录