Message ID | 20210928092242.30036-3-zev@bewilderbeest.net (mailing list archive) |
---|---|
State | Accepted |
Headers | show |
Series | hwmon: (pmbus/lm25066) Configurable sense resistor, other cleanups | expand |
On Tue, Sep 28, 2021 at 02:22:36AM -0700, Zev Weiss wrote: > At least as of Revision J, the datasheet has a slightly different > value than what we'd had in the driver. > Indeeed, it does. > Signed-off-by: Zev Weiss <zev@bewilderbeest.net> Applied. Thanks, Guenter > --- > drivers/hwmon/pmbus/lm25066.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > 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, > },
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, },
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> --- drivers/hwmon/pmbus/lm25066.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)