Re: [PATCH 01/12] PM / OPP: Add per OPP table mutex

2017-01-09 Thread Stephen Boyd
On 12/07, Viresh Kumar wrote: > 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 > --- Reviewed-by:

[PATCH 01/12] PM / OPP: Add per OPP table mutex

2016-12-07 Thread Viresh Kumar
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 --- drivers/base/power/opp/core.c | 31