linux/drivers/power
Ivan Abramov 8b27fe2d8d power: supply: rt9467: Return error on failure in rt9467_set_value_from_ranges()
The return value of rt9467_set_value_from_ranges() when setting AICL VTH is
not checked, even though it may fail.

Log error and return from rt9467_run_aicl() on fail.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

Fixes: 6f7f70e3a8 ("power: supply: rt9467: Add Richtek RT9467 charger driver")
Signed-off-by: Ivan Abramov <i.abramov@mt-integration.ru>
Link: https://patch.msgid.link/20251009144725.562278-1-i.abramov@mt-integration.ru
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
History 2025-11-03 01:01:57 +01:00
..
reset driver: reset: th1520-aon: add driver for poweroff/reboot via AON FW 2025-09-19 12:55:20 +02:00
sequencing power: sequencing: qcom-wcn: fix bluetooth-wifi copypasta for WCN6855 2025-06-30 09:07:57 +02:00
supply power: supply: rt9467: Return error on failure in rt9467_set_value_from_ranges() 2025-11-03 01:01:57 +01:00
Kconfig power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00
Makefile power: sequencing: implement the pwrseq core 2024-06-12 09:20:13 +02:00