hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs
authorFrank Crawford <frank@crawford.emu.id.au>
Sat, 18 Mar 2023 08:05:42 +0000 (19:05 +1100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 Mar 2023 10:49:13 +0000 (12:49 +0200)
commit682938af0a5fd7c3f3e7453ea10c89c7c59b33d9
tree10b8c94d4276f73e50b591b5a21fc0319b6150ea
parentf3263768965fb893534f0e04c91d33a49c77950f
hwmon (it87): Fix voltage scaling for chips with 10.9mV ADCs

[ Upstream commit 968b66ffeb7956acc72836a7797aeb7b2444ec51 ]

Fix voltage scaling for chips that have 10.9mV ADCs, where scaling was
not performed.

Fixes: ead8080351c9 ("hwmon: (it87) Add support for IT8732F")
Signed-off-by: Frank Crawford <frank@crawford.emu.id.au>
Link: https://lore.kernel.org/r/20230318080543.1226700-2-frank@crawford.emu.id.au
[groeck: Update subject and description to focus on bug fix]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwmon/it87.c