blob: 764a917c1f080996c266b9e1fd3f4ddbb0e509e2 [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001From 2dea651680cea1f3a29925de51002f33d1f55711 Mon Sep 17 00:00:00 2001
2From: Ansuel Smith <ansuelsmth@gmail.com>
3Date: Fri, 1 May 2020 00:22:25 +0200
4Subject: cpufreq: qcom: fix wrong compatible binding
5
6Binding in Documentation is still "operating-points-v2-kryo-cpu".
7Restore the old binding to fix the compatibility problem.
8
9Fixes: a8811ec764f9 ("cpufreq: qcom: Add support for krait based socs")
10Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
11Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
12---
13 drivers/cpufreq/qcom-cpufreq-nvmem.c | 2 +-
14 1 file changed, 1 insertion(+), 1 deletion(-)
15
16--- a/drivers/cpufreq/qcom-cpufreq-nvmem.c
17+++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c
18@@ -277,7 +277,7 @@ static int qcom_cpufreq_probe(struct pla
19 if (!np)
20 return -ENOENT;
21
22- ret = of_device_is_compatible(np, "operating-points-v2-qcom-cpu");
23+ ret = of_device_is_compatible(np, "operating-points-v2-kryo-cpu");
24 if (!ret) {
25 of_node_put(np);
26 return -ENOENT;