From: Jonghwa Lee Date: Fri, 20 Jul 2012 02:54:02 +0000 (+0000) Subject: EXYNOS: bugfix on retrieving old_index from freqs.old X-Git-Tag: v3.6-rc1~155^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=53df1ad52545854fc34d336b26f3086b2fb2d6f7;p=pandora-kernel.git EXYNOS: bugfix on retrieving old_index from freqs.old The policy might have been changed since last call of target(). Thus, using cpufreq_frequency_table_target(), which depends on policy to find the corresponding index from a frequency, may return inconsistent index for freqs.old. Thus, old_index should be calculated not based on the current policy. We have been observing such issue when scaling_min/max_freq were updated and sometimes cuased system lockups deu to incorrectly configured voltages. Signed-off-by: MyungJoo Ham Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed