summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorHaotian Zhang <vulab@iscas.ac.cn>2025-12-14 22:58:03 +0800
committerLee Jones <lee@kernel.org>2026-01-22 14:22:26 +0000
commit4feb753ba6e5e5bbaba868b841a2db41c21e56fa (patch)
tree125ad355e26730158183dd4149019cad8afc39b6 /tools/perf/scripts/python
parent20117c92bcf9c11afd64d7481d8f94fdf410726e (diff)
downloadlinux-4feb753ba6e5e5bbaba868b841a2db41c21e56fa.tar.gz
linux-4feb753ba6e5e5bbaba868b841a2db41c21e56fa.zip
mfd: arizona: Fix regulator resource leak on wm5102_clear_write_sequencer() failure
The wm5102_clear_write_sequencer() helper may return an error and just return, bypassing the cleanup sequence and causing regulators to remain enabled, leading to a resource leak. Change the direct return to jump to the err_reset label to properly free the resources. Fixes: 1c1c6bba57f5 ("mfd: wm5102: Ensure we always boot the device fully") Signed-off-by: Haotian Zhang <vulab@iscas.ac.cn> Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com> Link: https://patch.msgid.link/20251214145804.2037-1-vulab@iscas.ac.cn Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions