Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7733169d authored by Viresh Kumar's avatar Viresh Kumar Committed by Alex Shi
Browse files

PM / OPP replace kfree_rcu() with call_srcu() in opp_set_availability()



This existed before we introduced call_srcu() in opp layer to synchronize with
srcu_notifier_call_chain() while removing OPPs. And is a potential bug which
wasn't noticed earlier.

Let fix it as well by using the right API to free OPP.

Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
(cherry picked from commit b4037aaa584bd914bbf578f5ceb2d9884fa7ddb6)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent 09ec5422
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment