cpufreq: qcom: fix wrong compatible binding
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 30 Apr 2020 22:22:25 +0000 (00:22 +0200)
committerViresh Kumar <viresh.kumar@linaro.org>
Mon, 4 May 2020 05:12:44 +0000 (10:42 +0530)
Binding in Documentation is still "operating-points-v2-kryo-cpu".
Restore the old binding to fix the compatibility problem.

Fixes: a8811ec764f9 ("cpufreq: qcom: Add support for krait based socs")
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
drivers/cpufreq/qcom-cpufreq-nvmem.c

index a1b8238..d06b378 100644 (file)
@@ -277,7 +277,7 @@ static int qcom_cpufreq_probe(struct platform_device *pdev)
        if (!np)
                return -ENOENT;
 
-       ret = of_device_is_compatible(np, "operating-points-v2-qcom-cpu");
+       ret = of_device_is_compatible(np, "operating-points-v2-kryo-cpu");
        if (!ret) {
                of_node_put(np);
                return -ENOENT;