Re: [PATCH v5 2/3] clk: qcom: common: Add support for power-domain attachment
From: Bryan O'Donoghue
Date: Fri Nov 29 2024 - 06:40:09 EST
On 29/11/2024 11:30, Vladimir Zapolskiy wrote:
+ ret = devm_pm_domain_attach_list(dev, &pd_data, &cc->pd_list);
Please make a call to the function like this:
ret = devm_pm_domain_attach_list(dev, NULL, &cc->pd_list);
Passing &pd_data will cause devm_pd_domain_attach_list() to cycle
through the power-domains listed and do dev_pm_domain_attach_by_id();
instead of dv_pm_domain_attach_by_name();
That's what &pd_data is passed here. You want to have that simple
attachment of the power-domain list.
---
bod