]> git.proxmox.com Git - mirror_ubuntu-jammy-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)
commitc27a0ccc3c715c55fea6709eab2f9c6f551fcfaa
tree6e5262462eb72070ffae95bac76bf4596750af48
parent43298db3009f06fe5c69e1ca8b6cfc2565772fa1
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