aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/brcmstb-avs-cpufreq.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/cpufreq/brcmstb-avs-cpufreq.c b/drivers/cpufreq/brcmstb-avs-cpufreq.c
index 7281a2c19c36..6cdac1aaf23c 100644
--- a/drivers/cpufreq/brcmstb-avs-cpufreq.c
+++ b/drivers/cpufreq/brcmstb-avs-cpufreq.c
@@ -902,11 +902,7 @@ static int brcm_avs_cpufreq_init(struct cpufreq_policy *policy)
902 return ret; 902 return ret;
903 } 903 }
904 904
905 ret = cpufreq_table_validate_and_show(policy, freq_table); 905 policy->freq_table = freq_table;
906 if (ret) {
907 dev_err(dev, "invalid frequency table: %d\n", ret);
908 return ret;
909 }
910 906
911 /* All cores share the same clock and thus the same policy. */ 907 /* All cores share the same clock and thus the same policy. */
912 cpumask_setall(policy->cpus); 908 cpumask_setall(policy->cpus);