--- 4ea3be86033739e76522470b6e5c7830a5490de6 +++ 8fc50e1c19b79c2be04cf26a8a3b29f400ab0899 @@ -179,6 +179,8 @@ static int __cpuinit msm_cpufreq_init(st return -ENODEV; table = cpufreq_frequency_get_table(policy->cpu); + if (table == NULL) + return -ENODEV; if (cpufreq_frequency_table_cpuinfo(policy, table)) { #ifdef CONFIG_MSM_CPU_FREQ_SET_MIN_MAX policy->cpuinfo.min_freq = CONFIG_MSM_CPU_FREQ_MIN;