diff options
| author | 2025-10-09 20:05:52 +0300 | |
|---|---|---|
| committer | 2025-11-03 01:01:57 +0100 | |
| commit | ea14bae6df18942bccb467fcf5ff33ca677b8253 (patch) | |
| tree | e5b171e4af5d17c5ac044eab00ad9f72eef2811c /tools/perf/scripts/python | |
| parent | power: supply: rt9467: Prevent using uninitialized local variable in rt9467_set_value_from_ranges() (diff) | |
power: supply: wm831x: Check wm831x_set_bits() return value
Since wm831x_set_bits() may return error, log failure and exit from
wm831x_usb_limit_change() in such case.
Found by Linux Verification Center (linuxtesting.org) with SVACE.
Fixes: 626b6cd5f52e ("power: wm831x_power: Support USB charger current limit management")
Signed-off-by: Ivan Abramov <i.abramov@mt-integration.ru>
Link: https://patch.msgid.link/20251009170553.566561-1-i.abramov@mt-integration.ru
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
