summaryrefslogtreecommitdiffstats
path: root/drivers/cpufreq/cpufreq_opp.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-03 02:46:01 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-09-03 02:46:01 +0200
commit0ed537b5fd18c38b526fd0e6837a00f96aee30c4 (patch)
tree01744d89b09aaaaad77696265fb4732ef9a8fc32 /drivers/cpufreq/cpufreq_opp.c
parent72e624de6e6f0d5a638fbc23842aa76ae048e9e7 (diff)
parent50a3cb04a5f9cd5323a76db9ee409a7f3004259a (diff)
downloadlinux-0ed537b5fd18c38b526fd0e6837a00f96aee30c4.tar.gz
linux-0ed537b5fd18c38b526fd0e6837a00f96aee30c4.tar.bz2
linux-0ed537b5fd18c38b526fd0e6837a00f96aee30c4.zip
Merge branch 'pm-opp' into pm-cpufreq
Diffstat (limited to 'drivers/cpufreq/cpufreq_opp.c')
-rw-r--r--drivers/cpufreq/cpufreq_opp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/cpufreq/cpufreq_opp.c b/drivers/cpufreq/cpufreq_opp.c
index 773bcde893c0..0f5e6d5f6da0 100644
--- a/drivers/cpufreq/cpufreq_opp.c
+++ b/drivers/cpufreq/cpufreq_opp.c
@@ -75,6 +75,10 @@ int dev_pm_opp_init_cpufreq_table(struct device *dev,
}
freq_table[i].driver_data = i;
freq_table[i].frequency = rate / 1000;
+
+ /* Is Boost/turbo opp ? */
+ if (dev_pm_opp_is_turbo(opp))
+ freq_table[i].flags = CPUFREQ_BOOST_FREQ;
}
freq_table[i].driver_data = i;