]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
cpufreq: qcom: fix wrong compatible binding
authorAnsuel Smith <ansuelsmth@gmail.com>
Thu, 30 Apr 2020 22:22:25 +0000 (00:22 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 22 Jun 2020 07:32:37 +0000 (09:32 +0200)
[ Upstream commit 2dea651680cea1f3a29925de51002f33d1f55711 ]

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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/cpufreq/qcom-cpufreq-nvmem.c

index a1b8238872a21d012d121d453fcf7250966fdfad..d06b37822c3dff1add1d505474efd9ecb8422f95 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;