Re: [PATCH 4/6] OPP: Add dev_pm_opp_find_freq_exact_indexed()

From: Viresh Kumar
Date: Mon Jul 24 2023 - 03:31:59 EST


On 24-07-23, 11:54, Manivannan Sadhasivam wrote:
> On Fri, Jul 21, 2023 at 03:10:57PM +0530, Viresh Kumar wrote:
> > The indexed version of the API is added for other floor and ceil, add
> > the same for exact as well for completeness.
> >
>
> Well, "completeness" makes sense to me but I always heard that you should add
> an API when there is a user. That was the reason I didn't add it in my patch.

Yes that is true for any new API I guess. But since we support multiple clocks,
it made sense to support all three variants here.

--
viresh