Skip to content
Commit 1f6620f8 authored by Viresh Kumar's avatar Viresh Kumar
Browse files

opp: Don't always remove static OPPs in _of_add_opp_table_v1()



The patch missed returning 0 early in case of success and hence the
static OPPs got removed by mistake. Fix it.

Fixes: 90d46d71 ("opp: Handle multiple calls for same OPP table in _of_add_opp_table_v1()")
Reported-by: default avatarAisheng Dong <aisheng.dong@nxp.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Tested-by: default avatarDong Aisheng <aisheng.dong@nxp.com>
parent 3650b228
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