From: Choonghoon Park Date: Fri, 15 Jun 2018 00:26:53 +0000 (+0900) Subject: cpufreq: eff: fix configuration X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e0bbf38d7a13dd23da4eae2f4bdd32a30c5cda86;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git cpufreq: eff: fix configuration Fix typo PSTATE_EXYNOS_HAFM to CONFIG_PSTATE_EXYNOS_HAFM Change-Id: I541dd9cf2f90a7fd6d2a15fa22dd7ec494e5e68c --- diff --git a/drivers/cpufreq/exynos-ff.c b/drivers/cpufreq/exynos-ff.c index 5d50d7d3696c..b4c828f5e2c1 100644 --- a/drivers/cpufreq/exynos-ff.c +++ b/drivers/cpufreq/exynos-ff.c @@ -36,7 +36,7 @@ static bool policy_need_filter(struct cpufreq_policy *policy) return cpumask_intersects(policy->cpus, &eff_driver->cpus); } -#ifdef PSTATE_EXYNOS_HAFM_TB +#ifdef CONFIG_PSTATE_EXYNOS_HAFM_TB static bool check_filtering(unsigned int target_freq, unsigned int flag) { unsigned int cur_freq; @@ -89,7 +89,7 @@ int __cpufreq_driver_target(struct cpufreq_policy *policy, if (policy_need_filter(policy)) { mutex_lock(&eff_driver->lock); -#ifdef PSTATE_EXYNOS_HAFM_TB +#ifdef CONFIG_PSTATE_EXYNOS_HAFM_TB if (check_filtering(target_freq, flag)) goto out; @@ -134,7 +134,7 @@ out: void cpufreq_policy_apply_limits(struct cpufreq_policy *policy) { -#ifdef PSTATE_EXYNOS_HAFM_TB +#ifdef CONFIG_PSTATE_EXYNOS_HAFM_TB if (policy_need_filter(policy)) { if (check_boost_freq_throttled(policy)) { pr_debug("exynos-ff: wait for boost freq throttling completion\n");