summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/cpufreq_governor.c
diff options
context:
space:
mode:
authorLucas Stach <l.stach@pengutronix.de>2017-12-11 14:19:00 +0100
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2017-12-18 12:06:37 +0100
commitccc153a6de1f7741b5ef7c996f9be133772b2092 (patch)
tree3c9e7c72fd78cbf9d3cb980b5743a5df238cfad2 /drivers/cpufreq/cpufreq_governor.c
parent1291a0d5049dbc06baaaf66a9ff3f53db493b19b (diff)
downloadlwn-ccc153a6de1f7741b5ef7c996f9be133772b2092.tar.gz
lwn-ccc153a6de1f7741b5ef7c996f9be133772b2092.zip
cpufreq: imx6q: fix speed grading regression on i.MX6 QuadPlus
The commit moving the speed grading check to the cpufreq driver introduced some additional checks, so the OPP disable is only attempted on SoCs where those OPPs are present. The compatible checks are missing the QuadPlus compatible, so invalid OPPs are not correctly disabled there. Move both checks to a single condition, so we don't need to sprinkle even more calls to of_machine_is_compatible(). Fixes: 2b3d58a3adca (cpufreq: imx6q: Move speed grading check to cpufreq driver) Signed-off-by: Lucas Stach <l.stach@pengutronix.de> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/cpufreq_governor.c')
0 files changed, 0 insertions, 0 deletions