diff options
author | Antoniu Miclaus <[email protected]> | 2023-10-11 16:57:53 +0300 |
---|---|---|
committer | Guenter Roeck <[email protected]> | 2023-10-28 09:21:36 -0700 |
commit | 10b02902048737f376104bc69e5212466e65a542 (patch) | |
tree | 098ca631fb1edd1c4bc61ff066b710b5abbbd4b3 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py | |
parent | b92b2984a5b62099ab7731bc3a30a0d7c83a01d4 (diff) |
hwmon: (ltc2992) Avoid division by zero
Do not allow setting shunt resistor to 0. This results in a division by
zero when performing current value computations based on input voltages
and connected resistor values.
Signed-off-by: Antoniu Miclaus <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/Util.py')
0 files changed, 0 insertions, 0 deletions