summaryrefslogtreecommitdiff
path: root/drivers/net/wwan/iosm/iosm_ipc_protocol.c
diff options
context:
space:
mode:
authorVincent Whitchurch <vincent.whitchurch@axis.com>2022-08-16 16:44:14 +0200
committerGuenter Roeck <linux@roeck-us.net>2022-08-17 08:32:09 -0700
commited3590561f5d3343a1717396307d0942eda472ed (patch)
treec28cb4473fa229a51fc7fc2fb1a64b02b49b273a /drivers/net/wwan/iosm/iosm_ipc_protocol.c
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 <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 'drivers/net/wwan/iosm/iosm_ipc_protocol.c')
0 files changed, 0 insertions, 0 deletions