summaryrefslogtreecommitdiff
path: root/arch/x86/include/asm/iosf_mbi.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-07-27 18:15:43 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2020-07-30 19:19:52 +0300
commit3a9571760665817a269eb8f74749cbc231e7af45 (patch)
treea700f0dc52e355010ab9d7f5adf4396f9541c8a9 /arch/x86/include/asm/iosf_mbi.h
parent80e30368669e0387d9778b15bd1b985074725a2e (diff)
downloadlinux-3a9571760665817a269eb8f74749cbc231e7af45.tar.xz
cpufreq: intel_pstate: Rearrange the storing of new EPP values
Move the locking away from intel_pstate_set_energy_pref_index() into its only caller and drop the (now redundant) return_pref label from it. Also move the "raw" EPP value check into the caller of that function, so as to do it before acquiring the mutex, and reduce code duplication related to the "raw" EPP values processing somewhat. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net>
Diffstat (limited to 'arch/x86/include/asm/iosf_mbi.h')
0 files changed, 0 insertions, 0 deletions