ipq806x: fix dedicated cpufreq driver
[openwrt/staging/dedeckeh.git] / target / linux / ipq806x / patches-5.4 / 098-3-add-fab-scaling-support-with-cpufreq.patch
index fe9143218f3d7568760eda6e2a9866642abd1d6f..8ce3f062cff6c2c145a97b8e5518b9a30df8bf98 100644 (file)
  
  #include "cpufreq-dt.h"
  
-@@ -54,6 +55,13 @@ static int set_target(struct cpufreq_pol
-               level = dev_pm_opp_get_level(opp);
-               dev_pm_opp_put(opp);
+@@ -68,6 +69,13 @@ static int set_target(struct cpufreq_pol
+                       return -EINVAL;
+               }
  
 +              /*
 +               * Scale fabrics with max freq across all cores