git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7470db
)
PM / OPP mark OPPs as 'static' or 'dynamic'
author
Viresh Kumar
<viresh.kumar@linaro.org>
Tue, 25 Nov 2014 10:34:18 +0000
(16:04 +0530)
committer
Rafael J. Wysocki
<rafael.j.wysocki@intel.com>
Sat, 29 Nov 2014 22:53:20 +0000
(23:53 +0100)
Static OPPs are the ones created from Device Tree entries and dynamic are the
ones created at runtime by calling dev_pm_opp_add().
There is a need to distinguish them as we need to free static OPPs from cpufreq
drivers when they are removed.
So, add another field 'dynamic' in 'struct dev_pm_opp' to keep this information.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/power/opp.c
patch
|
blob
|
history
diff --cc
drivers/base/power/opp.c
Simple merge