Re: [PATCH v5 3/3] cpufreq: qcom-hw: Add CPU clock provider support

From: Manivannan Sadhasivam
Date: Mon Nov 14 2022 - 01:25:47 EST


On Mon, Nov 14, 2022 at 08:46:58AM +0530, Viresh Kumar wrote:
> On 09-11-22, 16:47, Sudeep Holla wrote:
> > Is the cpufreq_get() API expected
> > to return something close to what was set or is it expected to return the
> > real set h/w value if and when possible.
>
> The real frequency the hardware is running at.
>

Oh... In that case, qcom-cpufreq-hw driver is not returning the real frequency
but instead whatever set by the cpufreq core previously using target_index().

Should I fix it too in the next version of this series?

Thanks,
Mani

> --
> viresh

--
மணிவண்ணன் சதாசிவம்