diff options
| author | Ivan Abramov <i.abramov@mt-integration.ru> | 2025-10-09 20:05:52 +0300 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2025-11-03 01:01:57 +0100 |
| commit | ea14bae6df18942bccb467fcf5ff33ca677b8253 (patch) | |
| tree | e5b171e4af5d17c5ac044eab00ad9f72eef2811c /tools/lib/python/kdoc/kdoc_re.py | |
| parent | 15aca30cc6c69806054b896a2ccf7577239cb878 (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/lib/python/kdoc/kdoc_re.py')
0 files changed, 0 insertions, 0 deletions
