mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
cpufreq: dt: delete flag CPUFREQ_NEED_INITIAL_FREQ_CHECK
As there are still some limitations, we prefer to implement it ourselves. Change-Id: Ic801ed0a137b025296144cb3d8e47bcb0f8c0567 Signed-off-by: Finley Xiao <finley.xiao@rock-chips.com>
This commit is contained in:
@@ -349,8 +349,11 @@ static void cpufreq_ready(struct cpufreq_policy *policy)
|
||||
}
|
||||
|
||||
static struct cpufreq_driver dt_cpufreq_driver = {
|
||||
.flags = CPUFREQ_STICKY | CPUFREQ_NEED_INITIAL_FREQ_CHECK |
|
||||
CPUFREQ_HAVE_GOVERNOR_PER_POLICY,
|
||||
#ifdef CONFIG_ARCH_ROCKCHIP
|
||||
.flags = CPUFREQ_STICKY | CPUFREQ_HAVE_GOVERNOR_PER_POLICY,
|
||||
#else
|
||||
.flags = CPUFREQ_STICKY | CPUFREQ_NEED_INITIAL_FREQ_CHECK,
|
||||
#endif
|
||||
.verify = cpufreq_generic_frequency_table_verify,
|
||||
.target_index = set_target,
|
||||
.get = cpufreq_generic_get,
|
||||
|
||||
Reference in New Issue
Block a user