summaryrefslogtreecommitdiff
path: root/scripts/rust_is_available_test.py
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2024-07-13 22:03:53 +0300
committerGuenter Roeck <linux@roeck-us.net>2024-07-14 21:49:01 +0300
commit1ea3fd1eb9869fcdcbc9c68f9728bfc47b9503f1 (patch)
tree0b5ca93cfe3fc7149cd16b1d50f3b6376e74e85e /scripts/rust_is_available_test.py
parentcbf7467828cd4ec7ceac7a8b5b5ddb2f69f07b0e (diff)
downloadlinux-1ea3fd1eb9869fcdcbc9c68f9728bfc47b9503f1.tar.xz
hwmon: (max6697) Fix swapped temp{1,8} critical alarms
The critical alarm bit for the local temperature sensor (temp1) is in bit 7 of register 0x45 (not bit 6), and the critical alarm bit for remote temperature sensor 7 (temp8) is in bit 6 (not bit 7). This only affects MAX6581 since all other chips supported by this driver do not support those critical alarms. Fixes: 5372d2d71c46 ("hwmon: Driver for Maxim MAX6697 and compatibles") Reviewed-by: Tzung-Bi Shih <tzungbi@kernel.org> Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/rust_is_available_test.py')
0 files changed, 0 insertions, 0 deletions