diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2022-11-17 11:01:45 +0530 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2022-11-21 10:40:07 +0530 |
commit | c72cf0cb1d77f6b1b58c334dcc3d09fa13111c4c (patch) | |
tree | 5075d93ffea9147486009953d7671f1cfa0626a5 /Documentation/devicetree/bindings/cpufreq | |
parent | 9901c21bcaf2f01fe5078f750d624f4ddfa8f81b (diff) | |
download | linux-c72cf0cb1d77f6b1b58c334dcc3d09fa13111c4c.tar.gz linux-c72cf0cb1d77f6b1b58c334dcc3d09fa13111c4c.tar.bz2 linux-c72cf0cb1d77f6b1b58c334dcc3d09fa13111c4c.zip |
cpufreq: qcom-hw: Fix the frequency returned by cpufreq_driver->get()
The cpufreq_driver->get() callback is supposed to return the current
frequency of the CPU and not the one requested by the CPUFreq core.
Fix it by returning the frequency that gets supplied to the CPU after
the DCVS operation of EPSS/OSM.
Fixes: 2849dd8bc72b ("cpufreq: qcom-hw: Add support for QCOM cpufreq HW driver")
Reported-by: Sudeep Holla <sudeep.holla@arm.com>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'Documentation/devicetree/bindings/cpufreq')
0 files changed, 0 insertions, 0 deletions