diff options
author | Tony O'Brien <tony.obrien@alliedtelesis.co.nz> | 2023-02-22 13:52:28 +1300 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2023-03-05 15:08:06 -0800 |
commit | 48e8186870d9d0902e712d601ccb7098cb220688 (patch) | |
tree | 783244833c55aaa8224102b70a98b741213a650c /drivers/hwmon/xgene-hwmon.c | |
parent | 5f8d1e3b6f9b5971f9c06d5846ce00c49e3a8d94 (diff) |
hwmon: (adt7475) Fix masking of hysteresis registers
The wrong bits are masked in the hysteresis register; indices 0 and 2
should zero bits [7:4] and preserve bits [3:0], and index 1 should zero
bits [3:0] and preserve bits [7:4].
Fixes: 1c301fc5394f ("hwmon: Add a driver for the ADT7475 hardware monitoring chip")
Signed-off-by: Tony O'Brien <tony.obrien@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20230222005228.158661-3-tony.obrien@alliedtelesis.co.nz
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/xgene-hwmon.c')
0 files changed, 0 insertions, 0 deletions