Loading drivers/cpufreq/qcom-cpufreq.c +6 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,12 @@ static int msm_cpufreq_target(struct cpufreq_policy *policy, } table = cpufreq_frequency_get_table(policy->cpu); if (!table) { pr_err("cpufreq: Failed to get frequency table for CPU%u\n", policy->cpu); ret = -ENODEV; goto done; } if (cpufreq_frequency_table_target(policy, table, target_freq, relation, &index)) { pr_err("cpufreq: invalid target_freq: %d\n", target_freq); Loading Loading
drivers/cpufreq/qcom-cpufreq.c +6 −0 Original line number Diff line number Diff line Loading @@ -88,6 +88,12 @@ static int msm_cpufreq_target(struct cpufreq_policy *policy, } table = cpufreq_frequency_get_table(policy->cpu); if (!table) { pr_err("cpufreq: Failed to get frequency table for CPU%u\n", policy->cpu); ret = -ENODEV; goto done; } if (cpufreq_frequency_table_target(policy, table, target_freq, relation, &index)) { pr_err("cpufreq: invalid target_freq: %d\n", target_freq); Loading