author: Pali Rohár <pali@kernel.org> 2021-04-08 13:42:21 +0200
committer: Viresh Kumar <viresh.kumar@linaro.org> 2021-04-09 15:17:33 +0530
commit: 8bad3bf23cbc40abe1d24cec08a114df6facf858
parent: 92963903a8e11b9576eb7249f8e81eefa93b6f96
Commit Summary:
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/cpufreq/armada-37xx-cpufreq.c b/drivers/cpufreq/armada-37xx-cpufreq.c
index 1ab2113daef5..e4782f562e7a 100644
--- a/drivers/cpufreq/armada-37xx-cpufreq.c
+++ b/drivers/cpufreq/armada-37xx-cpufreq.c
@@ -469,7 +469,7 @@ static int __init armada37xx_cpufreq_driver_init(void)
return -EINVAL;
}
- dvfs = armada_37xx_cpu_freq_info_get(cur_frequency);
+ dvfs = armada_37xx_cpu_freq_info_get(base_frequency);
if (!dvfs) {
clk_put(clk);
return -EINVAL;