From 74e7ed3831afb5ec9512ad86865cdf3e1a52d70d Mon Sep 17 00:00:00 2001 From: Ram Chandrasekar Date: Tue, 26 Feb 2019 12:34:33 -0700 Subject: [PATCH] cpufreq: qcom-hw: Register child devices Register child devices once a successful probe is done. This will enable the dependent child devices to be probed immediately after the cpufreq probe is done. Change-Id: I9108636e1e6ad03bb6f5add9da9ba5507248c129 Signed-off-by: Ram Chandrasekar --- drivers/cpufreq/qcom-cpufreq-hw.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c index d3027b1e39cf..612b878692ad 100644 --- a/drivers/cpufreq/qcom-cpufreq-hw.c +++ b/drivers/cpufreq/qcom-cpufreq-hw.c @@ -410,6 +410,7 @@ static int qcom_cpufreq_hw_driver_probe(struct platform_device *pdev) } dev_dbg(&pdev->dev, "QCOM CPUFreq HW driver initialized\n"); + of_platform_populate(pdev->dev.of_node, NULL, NULL, &pdev->dev); return 0; }