android_kernel_xiaomi_sm8350/drivers/cpufreq
Shaohua Li 6501faf8c1 [CPUFREQ] state info wrong after resume
Sometimes old_index != stat->last_index, see cpufreq_update_policy, bios can
change cpu setting in resume.  In my test, after resume cpu is in lowest
speed, but the stat info shows cpu is in full speed.  This patch makes the
stat info correct after a resume.

Signed-off-by: Shaohua Li <shaohua.li@intel.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dave Jones <davej@redhat.com>
2008-04-28 16:27:08 -04:00
..
cpufreq_conservative.c
cpufreq_ondemand.c
cpufreq_performance.c
cpufreq_powersave.c [CPUFREQ] allow use of the powersave governor as the default one 2008-04-28 16:27:08 -04:00
cpufreq_stats.c [CPUFREQ] state info wrong after resume 2008-04-28 16:27:08 -04:00
cpufreq_userspace.c
cpufreq.c [CPUFREQ] expose cpufreq coordination requirements regardless of coordination mechanism 2008-04-28 16:27:08 -04:00
freq_table.c
Kconfig [CPUFREQ] allow use of the powersave governor as the default one 2008-04-28 16:27:08 -04:00
Makefile