summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pmbus
diff options
context:
space:
mode:
authorZev Weiss <zev@bewilderbeest.net>2021-09-28 11:22:36 +0200
committerGuenter Roeck <linux@roeck-us.net>2021-10-12 16:22:40 +0200
commitfa16188fa2053f23b1ed01cba5c43f4edc59005c (patch)
tree68501e87683e7cd10f03ddaa2c3ccb99cff15dcd /drivers/hwmon/pmbus
parenthwmon: (pmbus/lm25066) Add offset coefficients (diff)
downloadlinux-fa16188fa2053f23b1ed01cba5c43f4edc59005c.tar.xz
linux-fa16188fa2053f23b1ed01cba5c43f4edc59005c.zip
hwmon: (pmbus/lm25066) Adjust lm25066 PSC_CURRENT_IN_L mantissa
At least as of Revision J, the datasheet has a slightly different value than what we'd had in the driver. Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Link: https://lore.kernel.org/r/20210928092242.30036-3-zev@bewilderbeest.net Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'drivers/hwmon/pmbus')
-rw-r--r--drivers/hwmon/pmbus/lm25066.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/pmbus/lm25066.c b/drivers/hwmon/pmbus/lm25066.c
index 1a660c4cd19f..3616705aafde 100644
--- a/drivers/hwmon/pmbus/lm25066.c
+++ b/drivers/hwmon/pmbus/lm25066.c
@@ -101,7 +101,7 @@ static struct __coeff lm25066_coeff[6][PSC_NUM_CLASSES + 2] = {
.R = -2,
},
[PSC_CURRENT_IN_L] = {
- .m = 6852,
+ .m = 6854,
.b = -3100,
.R = -2,
},