aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/machxo2-spi.c
diff options
context:
space:
mode:
authorRafael J. Wysocki <[email protected]>2020-03-25 15:18:09 +0000
committerRafael J. Wysocki <[email protected]>2020-03-26 19:30:11 +0000
commit5ac54113dd6fed13a65048bf820d73c058c7440d (patch)
tree76bd8a1e59a2c893d7f7a67c1ee8b2015d6d39d3 /drivers/fpga/machxo2-spi.c
parentMerge branch 'cpufreq/arm/linux-next' of git://git.kernel.org/pub/scm/linux/k... (diff)
downloadkernel-5ac54113dd6fed13a65048bf820d73c058c7440d.tar.gz
kernel-5ac54113dd6fed13a65048bf820d73c058c7440d.zip
cpufreq: intel_pstate: Simplify intel_pstate_cpu_init()
The initial policy value set by intel_pstate_cpu_init() depends on whether or not CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is set, but that is not necessary, because the core will set the policy to "performance" in cpufreq_init_policy() if the default governor is "performance" anyway. Accordingly, change intel_pstate_cpu_init() to always set policy to CPUFREQ_POLICY_POWERSAVE initially to provide a valid fallback value to cpufreq_init_policy() in case the default cpufreq governor is neither "powersave" nor "performance". Signed-off-by: Rafael J. Wysocki <[email protected]>
Diffstat (limited to 'drivers/fpga/machxo2-spi.c')
0 files changed, 0 insertions, 0 deletions