Re: [PATCH] phy: sunplus: fix error handling in sp_uphy_init()
From: Vinod Koul
Date: Thu Aug 06 2026 - 12:28:29 EST
On Mon, 03 Aug 2026 23:15:17 +0800, Felix Gu wrote:
> Fix the error paths of sp_uphy_init() to undo exactly what each stage
> did: return directly if clk_prepare_enable() fails, release only the clock
> if reset_control_deassert() fails, and jump to err_reset if
> update_disc_vol() fails so the clock and reset are not leaked.
>
>
Applied, thanks!
[1/1] phy: sunplus: fix error handling in sp_uphy_init()
commit: 8b2683bc4cc18c581b7cd24f227cbe61abca7f4d
Best regards,
--
~Vinod