aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorVincent Whitchurch <[email protected]>2022-08-16 16:44:14 +0200
committerGuenter Roeck <[email protected]>2022-08-17 08:32:09 -0700
commited3590561f5d3343a1717396307d0942eda472ed (patch)
treec28cb4473fa229a51fc7fc2fb1a64b02b49b273a /tools/perf/scripts/python
parent09e52d17b72d3a4bf6951a90ccd8c97fae04e5cf (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions