commit | a410c03d668122923ab9b17c0c5728b520edddb4 | [log] [tgz] |
---|---|---|
author | Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> | Fri Oct 28 10:44:52 2016 -0700 |
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | Tue Nov 01 06:10:54 2016 +0100 |
tree | 1a7efd942884c001df55c5652ef09f56197ae20e | |
parent | 33de45c133b40a129a880c175af4c2bb39dafc88 [diff] |
cpufreq: intel_pstate: protect limits variable The limits variable gets modified from intel_pstate sysfs and also gets modified from cpufreq sysfs. So protect with a mutex to keep data integrity, when they are getting modified from multiple threads. Signed-off-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>