commit | 0597e818501f595090a49a1779ab6ec377051b11 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Thu Nov 05 14:21:21 2015 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Nov 06 23:59:42 2015 +0100 |
tree | c533619d73d101302533e476b51dd8935385d820 | |
parent | 4a3a1353a84796f93d389694e3b87ede533953fe [diff] |
PM / OPP: Add opp_rcu_lockdep_assert() to _find_device_opp() _find_device_opp() should be called with rcu-read lock or dev_opp_list_lock held. Add the opp_rcu_lockdep_assert() check to make sure caller have taken appropriate locks. Fix comment over the routine as well. Suggested-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>