]> git.baikalelectronics.ru Git - kernel.git/commit
cpufreq: intel_pstate: Update cached EPP in the active mode
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 27 Aug 2020 12:32:00 +0000 (14:32 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 1 Sep 2020 19:13:59 +0000 (21:13 +0200)
commit30bf9e63bbaf3c2034467a217672ea489aa9afd4
tree6e5262462eb72070ffae95bac76bf4596750af48
parenta9f13f451ed785f7360ab1d7d87a8dca17a7994b
cpufreq: intel_pstate: Update cached EPP in the active mode

Make intel_pstate update the cached EPP value when setting the EPP
via sysfs in the active mode just like it is the case in the passive
mode, for consistency, but also for the benefit of subsequent
changes.

No intentional functional impact.

Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Acked-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
drivers/cpufreq/intel_pstate.c