The freq-scale is updated to adjust the amount of task uilization
accumulation to the cpu frequency. In the previous kernel version,
the freq-scale was updated in the cpufreq framework, but in the
current version, it should be updated in the cpufreq driver
Change-Id: I542898e234f3e7a4e337c96bae40b5a054fcbd97
Signed-off-by: Park Bumgyu <bumgyu.park@samsung.com>
domain->id, domain->old, target_freq);
domain->old = target_freq;
+ arch_set_freq_scale(&domain->cpus, target_freq, policy->max);
out:
mutex_unlock(&domain->lock);
switch (event) {
case CPUFREQ_NOTIFY:
update_dm_constraint(domain, policy);
+ arch_set_freq_scale(&domain->cpus, domain->old, policy->max);
break;
}