]> www.infradead.org Git - users/dwmw2/linux.git/commit
hwmon: ltc2991: fix register bits defines
authorPawel Dembicki <paweldembicki@gmail.com>
Fri, 30 Aug 2024 11:13:50 +0000 (13:13 +0200)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 1 Sep 2024 13:39:57 +0000 (06:39 -0700)
commit6a422a96bc84cf9b9f0ff741f293a1f9059e0883
tree6eff2b89c4b023cd868f9d039928c343e57f7570
parent431c1646e1f86b949fa3685efc50b660a364c2b6
hwmon: ltc2991: fix register bits defines

In the LTC2991, V5 and V6 channels use the low nibble of the
"V5, V6, V7, and V8 Control Register" for configuration, but currently,
the high nibble is defined.

This patch changes the defines to use the low nibble.

Fixes: 2b9ea4262ae9 ("hwmon: Add driver for ltc2991")
Signed-off-by: Pawel Dembicki <paweldembicki@gmail.com>
Message-ID: <20240830111349.30531-1-paweldembicki@gmail.com>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/ltc2991.c