diff options
author | Lan Tianyu <tianyu.lan@intel.com> | 2014-09-18 15:03:07 +0800 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2014-09-22 14:23:18 +0200 |
commit | 8e30444e153008e8eb3e74cbcb7a865bfcfb04a0 (patch) | |
tree | 3e63816efa5d70f4343d7018683b9c4b7fe51322 /drivers/cpufreq/s3c2410-cpufreq.c | |
parent | 0f33be009b89d2268e94194dc4fd01a7851b6d51 (diff) |
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 <tianyu.lan@intel.com>
Cc: 3.15+ <stable@vger.kernel.org> # 3.15+
[rjw: Subject]
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/cpufreq/s3c2410-cpufreq.c')
0 files changed, 0 insertions, 0 deletions