diff options
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-03 02:46:01 +0200 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2015-09-03 02:46:01 +0200 |
commit | 0ed537b5fd18c38b526fd0e6837a00f96aee30c4 (patch) | |
tree | 01744d89b09aaaaad77696265fb4732ef9a8fc32 /drivers/cpufreq/cpufreq_opp.c | |
parent | 72e624de6e6f0d5a638fbc23842aa76ae048e9e7 (diff) | |
parent | 50a3cb04a5f9cd5323a76db9ee409a7f3004259a (diff) | |
download | linux-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.c | 4 |
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; |