commit | 37a73ec0c9bbd712d24cc2035696893e5b6119a5 | [log] [tgz] |
---|---|---|
author | Viresh Kumar <viresh.kumar@linaro.org> | Mon Jan 23 10:11:41 2017 +0530 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Mon Jan 30 09:22:20 2017 +0100 |
tree | f26471abf34316fc58ea9fbb19e5eaba2f4f0d78 | |
parent | b6160e26936bcf1b9181bb34ad4f420ccd3f39f0 [diff] |
PM / OPP: Add per OPP table mutex Add per OPP table lock to protect opp_table->opp_list. Note that at few places opp_list is used under the rcu_read_lock() and so a mutex can't be added there for now. This will be fixed by a later patch. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Stephen Boyd <sboyd@codeaurora.org> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>