Re: [PATCH] OPP: Put opp table in dev_pm_opp_set_rate() all the time

2020-08-12 Thread Stephen Boyd
Quoting Viresh Kumar (2020-08-12 01:20:13) > On 11-08-20, 14:28, Stephen Boyd wrote: > > @@ -905,7 +907,7 @@ int dev_pm_opp_set_rate(struct device *dev, unsigned > > long target_freq) > > > > ret = _set_opp_bw(opp_table, NULL, dev, true); > > if (ret) > > -

Re: [PATCH] OPP: Put opp table in dev_pm_opp_set_rate() all the time

2020-08-12 Thread Viresh Kumar
On 11-08-20, 14:28, Stephen Boyd wrote: > @@ -905,7 +907,7 @@ int dev_pm_opp_set_rate(struct device *dev, unsigned long > target_freq) > > ret = _set_opp_bw(opp_table, NULL, dev, true); > if (ret) > - return ret; > + goto put_op

Re: [PATCH] OPP: Put opp table in dev_pm_opp_set_rate() all the time

2020-08-11 Thread Rajendra Nayak
On 8/12/2020 2:58 AM, Stephen Boyd wrote: 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: Rajendra Nayak Fixes: aca48b61f963 ("opp: Manage empty OPP tables with clk handle"

[PATCH] OPP: Put opp table in dev_pm_opp_set_rate() all the time

2020-08-11 Thread Stephen Boyd
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: Rajendra Nayak Fixes: aca48b61f963 ("opp: Manage empty OPP tables with clk handle") Signed-off-by: Stephen Boyd --- drivers/op