diff options
author | Gregory CLEMENT <gregory.clement@bootlin.com> | 2019-03-08 17:47:10 +0100 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2019-04-29 11:52:50 +0200 |
commit | 8db82563451f976597ab7b282ec655e4390a4088 (patch) | |
tree | f0a4fd8f06fabeefb68fa5f4471c8187cf38fce6 /drivers/soundwire | |
parent | cpufreq: maple: Remove redundant code from maple_cpufreq_init() (diff) | |
download | linux-8db82563451f976597ab7b282ec655e4390a4088.tar.xz linux-8db82563451f976597ab7b282ec655e4390a4088.zip |
cpufreq: armada-37xx: fix frequency calculation for opp
The frequency calculation was based on the current(max) frequency of the
CPU. However for low frequency, the value used was already the parent
frequency divided by a factor of 2.
Instead of using this frequency, this fix directly get the frequency from
the parent clock.
Fixes: 92ce45fb875d ("cpufreq: Add DVFS support for Armada 37xx")
Cc: <stable@vger.kernel.org>
Reported-by: Christian Neubert <christian.neubert.86@gmail.com>
Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'drivers/soundwire')
0 files changed, 0 insertions, 0 deletions