diff options
author | Dmitry Torokhov <dtor@chromium.org> | 2014-12-17 00:09:38 +0100 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-12-18 01:42:49 +0100 |
commit | b4718c02f49ab5e1452353f0fae78beabe81467c (patch) | |
tree | 7eb5b9f28f79d6cb0d43f5b6ea62d77eac6806a4 /virt | |
parent | PM / OPP: fix warning in of_free_opp_table() (diff) | |
download | linux-b4718c02f49ab5e1452353f0fae78beabe81467c.tar.xz linux-b4718c02f49ab5e1452353f0fae78beabe81467c.zip |
PM / OPP: take RCU lock in dev_pm_opp_get_opp_count
A lot of callers are missing the fact that dev_pm_opp_get_opp_count
needs to be called under RCU lock. Given that RCU locks can safely be
nested, instead of providing *_locked() API, let's take RCU lock inside
dev_pm_opp_get_opp_count() and leave callers as is.
Signed-off-by: Dmitry Torokhov <dtor@chromium.org>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions