Skip to content

Commit 6215a5d

Browse files
Vincent Donnefortrafaeljw
authored andcommitted
cpufreq: mediatek-hw: Fix cpufreq_table_find_index_dl() call
The new cpufreq table flag RELATION_E introduced a new "efficient" parameter for the cpufreq_table_find*() functions. Fixes: 1f39fa0 (cpufreq: Introducing CPUFREQ_RELATION_E) Signed-off-by: Vincent Donnefort <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
1 parent e458716 commit 6215a5d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cpufreq/mediatek-cpufreq-hw.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ static unsigned int mtk_cpufreq_hw_fast_switch(struct cpufreq_policy *policy,
109109
struct mtk_cpufreq_data *data = policy->driver_data;
110110
unsigned int index;
111111

112-
index = cpufreq_table_find_index_dl(policy, target_freq);
112+
index = cpufreq_table_find_index_dl(policy, target_freq, false);
113113

114114
writel_relaxed(index, data->reg_bases[REG_FREQ_PERF_STATE]);
115115

0 commit comments

Comments
 (0)