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

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

PM / OPP: set new_opp->dev_opp to a valid dev_opp



We find/allocate dev_opp after using its value to fill new_opp->dev_opp right
now. Move this to a later point where dev_opp is valid.

Fixes: a7470db6fec4 (PM / OPP don't match for existing OPPs when list is empty)
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 7284a00f17290114d304528fc49aeee5c2b9b433)
Signed-off-by: default avatarAlex Shi <alex.shi@linaro.org>
parent 8ce7dd52
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