diff options
| author | 2020-10-14 09:56:28 +0530 | |
|---|---|---|
| committer | 2020-10-27 10:38:28 +0530 | |
| commit | 1f6620f87006dc02c608466cd990778aaadf386a (patch) | |
| tree | cd2dd466f5098fe27695417e3572a0893b2bf6c4 /include/linux/mfd/git:/ssh:/git@git.zx2c4.com | |
| parent | Linux 5.10-rc1 (diff) | |
| download | linux-dev-1f6620f87006dc02c608466cd990778aaadf386a.tar.xz linux-dev-1f6620f87006dc02c608466cd990778aaadf386a.zip | |
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: 90d46d71cce2 ("opp: Handle multiple calls for same OPP table in _of_add_opp_table_v1()")
Reported-by: Aisheng Dong <aisheng.dong@nxp.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Tested-by: Dong Aisheng <aisheng.dong@nxp.com>
Diffstat (limited to 'include/linux/mfd/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
