Re: [PATCH v2] bus: qcom-ebi2: use managed resources for clocks and children
From: Bjorn Andersson
Date: Sat Jul 11 2026 - 12:44:07 EST
On Tue, 23 Jun 2026 09:54:15 +0800, Pengpeng Hou wrote:
> qcom_ebi2_probe() enables the EBI2 clocks manually and populates child
> devices manually. Several later failure paths can then return without
> disabling the clocks or without relying on the driver core to undo child
> population.
>
> Use devm_clk_get_enabled() for both clocks and
> devm_of_platform_populate() for children. This lets the driver core
> unwind the resources automatically and removes the hand-written error
> labels.
>
> [...]
Applied, thanks!
[1/1] bus: qcom-ebi2: use managed resources for clocks and children
commit: d19a46f7ed8eb54fea61e0eaf7db53ff7babb03c
Best regards,
--
Bjorn Andersson <andersson@xxxxxxxxxx>