Re: [PATCH - for v5.7 stable] opp: Put opp table in dev_pm_opp_set_rate() for empty tables

2020-08-24 Thread Viresh Kumar
On 24-08-20, 18:10, Greg KH wrote: > On Mon, Aug 24, 2020 at 03:00:03PM +0530, Viresh Kumar wrote: > > From: Stephen Boyd > > > > commit 8979ef70850eb469e1094279259d1ef393ffe85f upstream. > > > > We get the opp_table pointer at the top of the function and so we should > > put the pointer at the

Re: [PATCH - for v5.7 stable] opp: Put opp table in dev_pm_opp_set_rate() for empty tables

2020-08-24 Thread Greg KH
On Mon, Aug 24, 2020 at 03:00:03PM +0530, Viresh Kumar wrote: > From: Stephen Boyd > > commit 8979ef70850eb469e1094279259d1ef393ffe85f upstream. > > We get the opp_table pointer at the top of the function and so we should > put the pointer at the end of the function like all other exit paths >

[PATCH - for v5.7 stable] opp: Put opp table in dev_pm_opp_set_rate() for empty tables

2020-08-24 Thread Viresh Kumar
From: Stephen Boyd commit 8979ef70850eb469e1094279259d1ef393ffe85f upstream. We get the opp_table pointer at the top of the function and so we should put the pointer at the end of the function like all other exit paths from this function do. Cc: v5.7+ # v5.7+ Fixes: aca48b61f963 ("opp: Manage