While device is booting, policy_min_freq value(INT) is set incorrectly.
I expected that policy_min_freq(INT) value should be changed to boot frequency
after devfreq init call. But policy_min_freq(INT) was not changed to boot frequency
after devfreq init call rarely.
This patch is for fixing this problem from DVFS Manager.
Change-Id: I82348d678bb31f093a322a92b508860a531f0cf2
Signed-off-by: Jaejoon Yoo <joonyj7.yoo@samsung.com>
do_gettimeofday(&before);
dm = &exynos_dm->dm_data[dm_type];
- if (dm->policy_max_freq == max_freq)
+ if ((dm->policy_min_freq == min_freq)&&(dm->policy_max_freq == max_freq))
goto out;
update_policy_min_max_freq(dm, min_freq, max_freq);