diff options
author | 2022-08-16 16:44:14 +0200 | |
---|---|---|
committer | 2022-08-17 08:32:09 -0700 | |
commit | ed3590561f5d3343a1717396307d0942eda472ed (patch) | |
tree | c28cb4473fa229a51fc7fc2fb1a64b02b49b273a /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | hwmon: (pmbus) Use dev_err_probe() to filter -EPROBE_DEFER error messages (diff) | |
download | linux-dev-ed3590561f5d3343a1717396307d0942eda472ed.tar.xz linux-dev-ed3590561f5d3343a1717396307d0942eda472ed.zip |
hwmon: (pmbus) Fix vout margin caching
The code currently uses a zero margin to mean not cached, but this
results in the cache being bypassed if the (low) margin is set to zero,
leading to lots of unnecessary SMBus transactions in that case. Use a
negative value instead.
Fixes: 07fb76273db89d93 ("hwmon: (pmbus) Introduce and use cached vout margins")
Signed-off-by: Vincent Whitchurch <vincent.whitchurch@axis.com>
Link: https://lore.kernel.org/r/20220816144414.2358974-1-vincent.whitchurch@axis.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions