aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/cpufreq/intel_pstate.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c
index 5585a2d101a7..b631ab02f170 100644
--- a/drivers/cpufreq/intel_pstate.c
+++ b/drivers/cpufreq/intel_pstate.c
@@ -1911,8 +1911,6 @@ static int intel_pstate_init_cpu(unsigned int cpunum)
1911 intel_pstate_disable_ee(cpunum); 1911 intel_pstate_disable_ee(cpunum);
1912 1912
1913 intel_pstate_hwp_enable(cpu); 1913 intel_pstate_hwp_enable(cpu);
1914 pid_params.sample_rate_ms = 50;
1915 pid_params.sample_rate_ns = 50 * NSEC_PER_MSEC;
1916 } 1914 }
1917 1915
1918 intel_pstate_get_cpu_pstates(cpu); 1916 intel_pstate_get_cpu_pstates(cpu);
@@ -2563,6 +2561,7 @@ static int __init intel_pstate_init(void)
2563 } else { 2561 } else {
2564 hwp_active++; 2562 hwp_active++;
2565 intel_pstate.attr = hwp_cpufreq_attrs; 2563 intel_pstate.attr = hwp_cpufreq_attrs;
2564 pid_params.sample_rate_ns = 50 * NSEC_PER_MSEC;
2566 goto hwp_cpu_matched; 2565 goto hwp_cpu_matched;
2567 } 2566 }
2568 } else { 2567 } else {