mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-10 12:57:06 +09:00
Revert "cpufreq: ondemand: Don't synchronize sample rate unless mulitple cpus present"
This reverts commit beb070f3d4.
This commit is contained in:
@@ -585,9 +585,7 @@ static void do_dbs_timer(struct work_struct *work)
|
||||
/* We want all CPUs to do sampling nearly on same jiffy */
|
||||
int delay = usecs_to_jiffies(dbs_tuners_ins.sampling_rate);
|
||||
|
||||
if (num_online_cpus() > 1)
|
||||
delay -= jiffies % delay;
|
||||
|
||||
delay -= jiffies % delay;
|
||||
mutex_lock(&dbs_info->timer_mutex);
|
||||
|
||||
/* Common NORMAL_SAMPLE setup */
|
||||
|
||||
Reference in New Issue
Block a user