Re: [PATCH] opp: Don't always remove static OPPs in _of_add_opp_table_v1()

From: Viresh Kumar
Date: Thu Oct 15 2020 - 00:31:09 EST


On 15-10-20, 02:35, Aisheng Dong wrote:
> Hi Viresh
>
> Thanks for the quick fix.
>
> > From: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
> > Sent: Wednesday, October 14, 2020 12:26 PM
> >
> > 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@xxxxxxx>
> > Signed-off-by: Viresh Kumar <viresh.kumar@xxxxxxxxxx>
>
> Tested-by: Dong Aisheng <aisheng.dong@xxxxxxx>

Thanks.

Rafael: Please apply this one directly for 5.10-rc. Thanks.

--
viresh