Re: [PATCH] phy: sunplus: fix error handling in sp_uphy_init()
Vinod Koul <[email protected]> Thu, 06 Aug 2026 21:56:25 +0530
| Newsgroups | org.kernel.vger.linux-usb,org.infradead.lists.linux-phy,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
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