diff options
author | Derek Nguyen <derek.nguyen@collins.com> | 2022-11-10 13:21:08 -0600 |
---|---|---|
committer | Guenter Roeck <linux@roeck-us.net> | 2022-11-20 06:04:15 -0800 |
commit | 07e06193ead86d4812f431b4d87bbd4161222e3f (patch) | |
tree | 5a923804f74ef2ecba5d6074766fe239e2a776c7 /arch | |
parent | 094226ad94f471a9f19e8f8e7140a09c2625abaa (diff) | |
download | linux-07e06193ead86d4812f431b4d87bbd4161222e3f.tar.gz |
hwmon: (ltc2947) fix temperature scaling
The LTC2947 datasheet (Rev. B) calls out in the section "Register
Description: Non-Accumulated Result Registers" (pg. 30) that "To
calculate temperature, multiply the TEMP register value by 0.204°C
and add 5.5°C". Fix to add 5.5C and not 0.55C.
Fixes: 9f90fd652bed ("hwmon: Add support for ltc2947")
Signed-off-by: Derek Nguyen <derek.nguyen@collins.com>
Signed-off-by: Brandon Maier <brandon.maier@collins.com>
Link: https://lore.kernel.org/r/20221110192108.20624-1-brandon.maier@collins.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions