b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | From 2dea651680cea1f3a29925de51002f33d1f55711 Mon Sep 17 00:00:00 2001 |
| 2 | From: Ansuel Smith <ansuelsmth@gmail.com> |
| 3 | Date: Fri, 1 May 2020 00:22:25 +0200 |
| 4 | Subject: cpufreq: qcom: fix wrong compatible binding |
| 5 | |
| 6 | Binding in Documentation is still "operating-points-v2-kryo-cpu". |
| 7 | Restore the old binding to fix the compatibility problem. |
| 8 | |
| 9 | Fixes: a8811ec764f9 ("cpufreq: qcom: Add support for krait based socs") |
| 10 | Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com> |
| 11 | Signed-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; |