]> git.baikalelectronics.ru Git - kernel.git/commit
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>
Wed, 5 Apr 2023 09:16:38 +0000 (11:16 +0200)
commit7ce33d011e048eed1c77aa9a0caed8f43a61557d
treefae47bccd70a0d8ffd816a70d987f769f5fdda6b
parentdc12875d0729e7b65ba6f3a4444675a61b263af2
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: 402b93a3d1d8 ("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