Skip to contentSkip to conversation

cpufreq: qcom: fix wrong compatible binding

PATCH Applied Ansuel Smith 2 participants 2 messages Apr 30, 2020 – May 4, 2020

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpufreq: qcom: fix wrong compatible binding

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")
---
 drivers/cpufreq/qcom-cpufreq-nvmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/qcom-cpufreq-nvmem.c +1 -1
index a1b8238872a2..d06b37822c3d 100644
@@ -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;
Signature · 1 line
2.25.1
maintainer Applied
#1 lore raw
Quoted 14 lines · Ansuel Smith

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")
---
 drivers/cpufreq/qcom-cpufreq-nvmem.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/cpufreq/qcom-cpufreq-nvmem.c +0 -0
index a1b8238872a2..d06b37822c3d 100644

drivers/cpufreq/qcom-cpufreq-nvmem.c static int qcom_cpufreq_probe(struct platform_device *pdev) · line 283

Quoted 8 lines
drivers/cpufreq/qcom-cpufreq-nvmem.c +1 -1
@@ -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;

Applied. Thanks.

Signature · 1 line
viresh