From: Ansuel Smith Date: Thu, 30 Apr 2020 22:22:25 +0000 (+0200) Subject: cpufreq: qcom: fix wrong compatible binding X-Git-Tag: v5.7.5~230 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=72baf3e326f39e5c563ed5c7553d7b9c5c4b2e2c;p=users%2Fdwmw2%2Flinux.git cpufreq: qcom: fix wrong compatible binding [ 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 Signed-off-by: Viresh Kumar Signed-off-by: Sasha Levin --- diff --git a/drivers/cpufreq/qcom-cpufreq-nvmem.c b/drivers/cpufreq/qcom-cpufreq-nvmem.c index a1b8238872a21..d06b37822c3df 100644 --- a/drivers/cpufreq/qcom-cpufreq-nvmem.c +++ b/drivers/cpufreq/qcom-cpufreq-nvmem.c @@ -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;