From: Lan Tianyu Date: Thu, 18 Sep 2014 07:03:07 +0000 (+0800) Subject: cpufreq: fix cpufreq suspend/resume for intel_pstate X-Git-Tag: fixes-for-v3.18-merge-window~66^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8e30444e153008e8eb3e74cbcb7a865bfcfb04a0;p=pandora-kernel.git cpufreq: fix cpufreq suspend/resume for intel_pstate Cpufreq core introduces cpufreq_suspended flag to let cpufreq sysfs nodes across S2RAM/S2DISK. But the flag is only set in the cpufreq_suspend() for cpufreq drivers which have target or target_index callback. This skips intel_pstate driver. This patch is to set the flag before checking target or target_index callback. Fixes: 2f0aea936360 (cpufreq: suspend governors on system suspend/hibernate) Signed-off-by: Lan Tianyu Cc: 3.15+ # 3.15+ [rjw: Subject] Signed-off-by: Rafael J. Wysocki --- Reading git-diff-tree failed