static int resources_available(void)
{
struct device *cpu_dev;
-@@ -251,10 +291,14 @@ static int cpufreq_init(struct cpufreq_p
+@@ -251,10 +290,14 @@ static int cpufreq_init(struct cpufreq_p
__func__, ret);
}
mutex_unlock(&priv->lock);
return ret;
-@@ -202,6 +257,9 @@ static int cpufreq_init(struct cpufreq_p
+@@ -200,6 +255,9 @@ static int cpufreq_init(struct cpufreq_p
bool fallback = false;
const char *name;
int ret;
cpu_dev = get_cpu_device(policy->cpu);
if (!cpu_dev) {
-@@ -309,6 +367,57 @@ static int cpufreq_init(struct cpufreq_p
+@@ -307,6 +365,57 @@ static int cpufreq_init(struct cpufreq_p
policy->suspend_freq = dev_pm_opp_get_suspend_opp_freq(cpu_dev) / 1000;
--- a/drivers/cpufreq/cpufreq-dt.c
+++ b/drivers/cpufreq/cpufreq-dt.c
-@@ -147,8 +147,10 @@ static int opp_notifier(struct notifier_
+@@ -173,8 +173,10 @@ static int opp_notifier(struct notifier_
ret = PTR_ERR(cpu_reg);
goto out;
}
#include "cpufreq-dt.h"
-@@ -101,6 +102,13 @@ static int set_target(struct cpufreq_pol
+@@ -106,6 +107,13 @@ static int set_target(struct cpufreq_pol
}
}
}
--- a/arch/arm/boot/dts/qcom-ipq8064.dtsi
+++ b/arch/arm/boot/dts/qcom-ipq8064.dtsi
-@@ -656,6 +656,7 @@
+@@ -668,6 +668,7 @@
reg = <0x800000 0x4000>;
gpio-controller;