Re: [PATCH] opp: fix dev_pm_opp_set_rate for different frequency at the same opp level

2021-02-18 Thread Viresh Kumar
On 16-02-21, 15:10, Jonathan Marek wrote: > There is not "nothing to do" when the opp is the same. The frequency can > be different from opp->rate. > > Fixes: 81c4d8a3c414 ("opp: Keep track of currently programmed OPP") > Signed-off-by: Jonathan Marek > --- > drivers/opp/core.c | 7 +-- >

Re: [PATCH] opp: fix dev_pm_opp_set_rate for different frequency at the same opp level

2021-02-17 Thread Jonathan Marek
On 2/16/21 11:53 PM, Viresh Kumar wrote: On 16-02-21, 15:10, Jonathan Marek wrote: There is not "nothing to do" when the opp is the same. The frequency can be different from opp->rate. I am sorry but I am not sure what are you trying to fix here and what exactly is broken here. Can you

Re: [PATCH] opp: fix dev_pm_opp_set_rate for different frequency at the same opp level

2021-02-16 Thread Viresh Kumar
On 16-02-21, 15:10, Jonathan Marek wrote: > There is not "nothing to do" when the opp is the same. The frequency can > be different from opp->rate. I am sorry but I am not sure what are you trying to fix here and what exactly is broken here. Can you provide a usecase for your platform where this

[PATCH] opp: fix dev_pm_opp_set_rate for different frequency at the same opp level

2021-02-16 Thread Jonathan Marek
There is not "nothing to do" when the opp is the same. The frequency can be different from opp->rate. Fixes: 81c4d8a3c414 ("opp: Keep track of currently programmed OPP") Signed-off-by: Jonathan Marek --- drivers/opp/core.c | 7 +-- drivers/opp/opp.h | 1 + 2 files changed, 6 insertions(+),