Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f9b8ab13 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "msm: cpufreq: Remove use of cpu_is_* API"

parents 0532a4fc 69706092
Loading
Loading
Loading
Loading
+3 −4
Original line number Diff line number Diff line
@@ -30,8 +30,8 @@
#include <linux/clk.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/of.h>
#include <trace/events/power.h>
#include <soc/qcom/socinfo.h>
#include <mach/cpufreq.h>

#ifdef CONFIG_DEBUG_FS
@@ -237,12 +237,11 @@ static int msm_cpufreq_init(struct cpufreq_policy *policy)
	if (table == NULL)
		return -ENODEV;
	/*
	 * In 8625, 8610, and 8226 both cpu core's frequency can not
	 * In some SoC, cpu cores' frequencies can not
	 * be changed independently. Each cpu is bound to
	 * same frequency. Hence set the cpumask to all cpu.
	 */
	if (cpu_is_msm8625() || cpu_is_msm8625q() || cpu_is_msm8226()
		|| cpu_is_msm8610() || is_sync)
	if (is_sync)
		cpumask_setall(policy->cpus);

	cpu_work = &per_cpu(cpufreq_work, policy->cpu);