]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
hwmon: (pmbus/lm25066) Add offset coefficients
authorZev Weiss <zev@bewilderbeest.net>
Tue, 28 Sep 2021 09:22:35 +0000 (02:22 -0700)
committerKleber Sacilotto de Souza <kleber.souza@canonical.com>
Thu, 13 Jan 2022 17:41:54 +0000 (18:41 +0100)
commitee811ce42c23addc9088f96340317a6f1aee5040
tree19f7658505abc575712995efb3c5946f9490d1f2
parentcd4aa2676a4a31381b0743b7c64ffa48abd8595b
hwmon: (pmbus/lm25066) Add offset coefficients

BugLink: https://bugs.launchpad.net/bugs/1953387
commit ae59dc455a78fb73034dd1fbb337d7e59c27cbd8 upstream.

With the exception of the lm5066i, all the devices handled by this
driver had been missing their offset ('b') coefficients for direct
format readings.

Cc: stable@vger.kernel.org
Fixes: 58615a94f6a1 ("hwmon: (pmbus/lm25066) Add support for LM25056")
Fixes: e53e6497fc9f ("hwmon: (pmbus/lm25066) Refactor device specific coefficients")
Signed-off-by: Zev Weiss <zev@bewilderbeest.net>
Link: https://lore.kernel.org/r/20210928092242.30036-2-zev@bewilderbeest.net
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
Signed-off-by: Kelsey Skunberg <kelsey.skunberg@canonical.com>
drivers/hwmon/pmbus/lm25066.c