Skip to content
Commit 8bad3bf2 authored by Pali Rohár's avatar Pali Rohár Committed by Viresh Kumar
Browse files

cpufreq: armada-37xx: Fix determining base CPU frequency



When current CPU load is not L0 then loading armada-37xx-cpufreq.ko driver
fails with following error:

    # modprobe armada-37xx-cpufreq
    [  502.702097] Unsupported CPU frequency 250 MHz

This issue was partially fixed by commit 8db82563 ("cpufreq:
armada-37xx: fix frequency calculation for opp"), but only for calculating
CPU frequency for opp.

Fix this also for determination of base CPU frequency.

Signed-off-by: default avatarPali Rohár <pali@kernel.org>
Acked-by: default avatarGregory CLEMENT <gregory.clement@bootlin.com>
Tested-by: default avatarTomasz Maciej Nowak <tmn505@gmail.com>
Tested-by: default avatarAnders Trier Olesen <anders.trier.olesen@gmail.com>
Tested-by: default avatarPhilip Soares <philips@netisense.com>
Fixes: 92ce45fb ("cpufreq: Add DVFS support for Armada 37xx")
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
parent 92963903
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment