hwmon: (peci/cputemp) Fix miscalculated DTS for SKX
authorIwona Winiarska <iwona.winiarska@intel.com>
Tue, 21 Mar 2023 09:04:10 +0000 (10:04 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 20 Apr 2023 10:35:11 +0000 (12:35 +0200)
commitf2226c840f8d5c27d688102fd49063f062635e11
treef5703453c7d9bd94af1d84823e5d71e67dc86ebc
parent1fe2ed70c054b141550d397685ca4c32a321c0ae
hwmon: (peci/cputemp) Fix miscalculated DTS for SKX

[ Upstream commit 2b91c4a870c9830eaf95e744454c9c218cccb736 ]

For Skylake, DTS temperature of the CPU is reported in S10.6 format
instead of S8.8.

Reported-by: Paul Fertser <fercerpav@gmail.com>
Link: https://lore.kernel.org/lkml/ZBhHS7v+98NK56is@home.paul.comp/
Signed-off-by: Iwona Winiarska <iwona.winiarska@intel.com>
Link: https://lore.kernel.org/r/20230321090410.866766-1-iwona.winiarska@intel.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/hwmon/peci/cputemp.c