]> git.baikalelectronics.ru Git - kernel.git/commit
hwmon: (nct7802) Fix voltage limits to wrong registers
authorGilles Buloz <gilles.buloz@kontron.com>
Wed, 27 Nov 2019 17:09:34 +0000 (18:09 +0100)
committerGuenter Roeck <linux@roeck-us.net>
Fri, 17 Jan 2020 15:56:48 +0000 (07:56 -0800)
commit2d59fe98d481e46ef392e4ecdac511052a4b2660
tree04f0f94ecc20d64a184c448127151db716fd3346
parent51213984a5013717c93ba5110d1a3b2b2072ddc1
hwmon: (nct7802) Fix voltage limits to wrong registers

in0 thresholds are written to the in2 thresholds registers
in2 thresholds to in3 thresholds
in3 thresholds to in4 thresholds
in4 thresholds to in0 thresholds

Signed-off-by: Gilles Buloz <gilles.buloz@kontron.com>
Link: https://lore.kernel.org/r/5de0f509.rc0oEvPOMjbfPW1w%gilles.buloz@kontron.com
Fixes: 7ff0400f0e2d ("hwmon: Driver for Nuvoton NCT7802Y")
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/nct7802.c