mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-27 01:11:14 +00:00
35d1f05094
- Replace nvmem qcom patch with upstream version - Update compatible Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> [refresh patches, minor commit message rewording] Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de> Tested-by: Paul Blazejowski <paulb@blazebox.homeip.net> [R7800]
27 lines
973 B
Diff
27 lines
973 B
Diff
From 2dea651680cea1f3a29925de51002f33d1f55711 Mon Sep 17 00:00:00 2001
|
|
From: Ansuel Smith <ansuelsmth@gmail.com>
|
|
Date: Fri, 1 May 2020 00:22:25 +0200
|
|
Subject: 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")
|
|
Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
|
|
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
|
|
---
|
|
drivers/cpufreq/qcom-cpufreq-nvmem.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
--- a/drivers/cpufreq/qcom-cpufreq-nvmem.c
|
|
+++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c
|
|
@@ -277,7 +277,7 @@ static int qcom_cpufreq_probe(struct pla
|
|
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;
|