projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ae59dc4
)
hwmon: (pmbus/lm25066) Adjust lm25066 PSC_CURRENT_IN_L mantissa
author
Zev Weiss
<zev@bewilderbeest.net>
Tue, 28 Sep 2021 09:22:36 +0000
(
02:22
-0700)
committer
Guenter Roeck
<linux@roeck-us.net>
Tue, 12 Oct 2021 14:22:40 +0000
(07:22 -0700)
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>
drivers/hwmon/pmbus/lm25066.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/pmbus/lm25066.c
b/drivers/hwmon/pmbus/lm25066.c
index 1a660c4cd19f41b407aae1c50ba25fc5f9594cdc..3616705aafde1ce8be6b05b6764833e34057384c 100644
(file)
--- 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 = 685
2
,
+ .m = 685
4
,
.b = -3100,
.R = -2,
},