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

From: Viresh Kumar
Date: Tue Feb 16 2021 - 23:54:01 EST


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 doesn't work
like it used to ?

> Fixes: 81c4d8a3c414 ("opp: Keep track of currently programmed OPP")
> Signed-off-by: Jonathan Marek <jonathan@xxxxxxxx>
> ---
> drivers/opp/core.c | 7 +++++--
> drivers/opp/opp.h | 1 +
> 2 files changed, 6 insertions(+), 2 deletions(-)

--
viresh