Re: [PATCH 2/4] clk: qcom: common: introduce qcom_cc_sync_state()
From: Val Packett
Date: Sun Jun 07 2026 - 00:44:52 EST
On 6/6/26 8:15 AM, Dmitry Baryshkov wrote:
On Wed, Jun 03, 2026 at 10:21:47AM -0400, Brian Masney wrote:
Several qcom clk providers currently have a sync_state helper set toOnly if desc->icc_hws != 0, otherwise it will mess the interconnect
icc_sync_state(). With an upcoming change to the clk framework, if
sync_state is not defined for the device, then the clk framework sets it
to clk_sync_state().
[..]
@@ -464,5 +466,12 @@ int qcom_cc_probe_by_index(struct platform_device *pdev, int index,
}
EXPORT_SYMBOL_GPL(qcom_cc_probe_by_index);
+void qcom_cc_sync_state(struct device *dev)
+{
+ icc_sync_state(dev);
internals. You might need to set drvdata to desc.
Hmm…
Currently icc_sync_state does not seem to use the dev argument at all.
How would something get messed up, now or whenever icc_sync_state changes? o.0
Thanks,
~val