Re: (subset) [PATCH] mfd: arizona: Fix regulator resource leak on wm5102_clear_write_sequencer failure
From: Lee Jones
Date: Thu Jan 08 2026 - 12:07:54 EST
On Sun, 14 Dec 2025 22:58:03 +0800, Haotian Zhang wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] mfd: arizona: Fix regulator resource leak on wm5102_clear_write_sequencer failure
commit: e8754afc3bd652c0d9f73511eb4604c50bc11b66
--
Lee Jones [李琼斯]