commit | aa439248ab71bcd2d26a01708dead4dd56616499 | [log] [tgz] |
---|---|---|
author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Fri Dec 30 15:56:14 2016 +0100 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Sat Dec 31 21:48:42 2016 +0100 |
tree | 2cb143137b8826ef2717f6a13e2ba43a62aeeb96 | |
parent | 366430b5c2f61a75d45b9fc00886ffff12f395ab [diff] |
cpufreq: intel_pstate: Use locking in intel_pstate_resume() Theoretically, intel_pstate_resume() may be executed in parallel with intel_pstate_set_policy(), if the latter is invoked via cpufreq_update_policy() as a result of a notification, so use intel_pstate_limits_lock in there too to avoid race conditions. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>