Re: [PATCH] bus: qcom-ebi2: Fix clock leak on probe failure
From: Bjorn Andersson
Date: Wed Jul 08 2026 - 11:18:22 EST
On Sat, 20 Jun 2026 16:04:06 +0800, Ruoyu Wang wrote:
> qcom_ebi2_probe() enables the EBI2X and EBI2 clocks before it walks
> child nodes and populates child devices. If reading a child node's reg
> property fails, or if of_platform_default_populate() fails, probe returns
> without disabling either clock.
>
> Route those failure paths through the existing clock cleanup labels so a
> failed probe does not leave the clocks prepared and enabled.
>
> [...]
Applied, thanks!
[1/1] bus: qcom-ebi2: Fix clock leak on probe failure
commit: 64774dea58969194ea5c27fa639954e551a87024
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>