diff mbox series

[v3] cpufreq: qcom-hw: Set dvfs_possible_from_any_cpu cpufreq driver flag

Message ID 1629713746-18360-1-git-send-email-tdas@codeaurora.org
State Accepted
Commit f0712ace7fe0723b40733c3b98591d34c1b0bfb9
Headers show
Series [v3] cpufreq: qcom-hw: Set dvfs_possible_from_any_cpu cpufreq driver flag | expand

Commit Message

Taniya Das Aug. 23, 2021, 10:15 a.m. UTC
As remote cpufreq updates are supported on QCOM platforms, set
dvfs_possible_from_any_cpu cpufreq driver flag.

Signed-off-by: Taniya Das <tdas@codeaurora.org>
---
[v3]
  * update the dvfs_possible_from_any_cpu always from qcom_cpufreq_hw_cpu_init
[v2]
  * update the dvfs_possible_from_any_cpu always.

 drivers/cpufreq/qcom-cpufreq-hw.c | 1 +
 1 file changed, 1 insertion(+)

--
Qualcomm INDIA, on behalf of Qualcomm Innovation Center, Inc.is a member
of the Code Aurora Forum, hosted by the  Linux Foundation.
diff mbox series

Patch

diff --git a/drivers/cpufreq/qcom-cpufreq-hw.c b/drivers/cpufreq/qcom-cpufreq-hw.c
index f86859b..4dd77ac 100644
--- a/drivers/cpufreq/qcom-cpufreq-hw.c
+++ b/drivers/cpufreq/qcom-cpufreq-hw.c
@@ -348,6 +348,7 @@  static int qcom_cpufreq_hw_cpu_init(struct cpufreq_policy *policy)
 	}

 	policy->driver_data = data;
+	policy->dvfs_possible_from_any_cpu = true;

 	ret = qcom_cpufreq_hw_read_lut(cpu_dev, policy);
 	if (ret) {