diff options
author | Pi-Cheng Chen <pi-cheng.chen@linaro.org> | 2015-11-29 03:31:35 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-12-09 18:27:32 -0500 |
commit | 9bb46b87d662ab704bd852db9916f0e51db3e94b (patch) | |
tree | eaa1707b05e44e95d12f6cbeb4f7b7711ac5a004 | |
parent | 8ae1702a0df5e0730607b97fd9fd1f8066870832 (diff) |
cpufreq: mt8173: add CPUFREQ_HAVE_GOVERNOR_PER_POLICY flag
Add CPUFREQ_HAVE_GOVERNOR_PER_POLICY to have individual set of tunables
for each cluster of MT8173.
Signed-off-by: Pi-Cheng Chen <pi-cheng.chen@linaro.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
-rw-r--r-- | drivers/cpufreq/mt8173-cpufreq.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/cpufreq/mt8173-cpufreq.c b/drivers/cpufreq/mt8173-cpufreq.c index 83001dc5b646..c43810946446 100644 --- a/drivers/cpufreq/mt8173-cpufreq.c +++ b/drivers/cpufreq/mt8173-cpufreq.c | |||
@@ -469,7 +469,8 @@ static int mtk_cpufreq_exit(struct cpufreq_policy *policy) | |||
469 | } | 469 | } |
470 | 470 | ||
471 | static struct cpufreq_driver mt8173_cpufreq_driver = { | 471 | static struct cpufreq_driver mt8173_cpufreq_driver = { |
472 | .flags = CPUFREQ_STICKY | CPUFREQ_NEED_INITIAL_FREQ_CHECK, | 472 | .flags = CPUFREQ_STICKY | CPUFREQ_NEED_INITIAL_FREQ_CHECK | |
473 | CPUFREQ_HAVE_GOVERNOR_PER_POLICY, | ||
473 | .verify = cpufreq_generic_frequency_table_verify, | 474 | .verify = cpufreq_generic_frequency_table_verify, |
474 | .target_index = mtk_cpufreq_set_target, | 475 | .target_index = mtk_cpufreq_set_target, |
475 | .get = cpufreq_generic_get, | 476 | .get = cpufreq_generic_get, |