diff options
| -rw-r--r-- | drivers/cpufreq/intel_pstate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/cpufreq/intel_pstate.c b/drivers/cpufreq/intel_pstate.c index bcb9a6d0ae11..099967302bf2 100644 --- a/drivers/cpufreq/intel_pstate.c +++ b/drivers/cpufreq/intel_pstate.c | |||
| @@ -778,7 +778,7 @@ static void intel_pstate_stop_cpu(struct cpufreq_policy *policy) | |||
| 778 | 778 | ||
| 779 | pr_info("intel_pstate CPU %d exiting\n", cpu_num); | 779 | pr_info("intel_pstate CPU %d exiting\n", cpu_num); |
| 780 | 780 | ||
| 781 | del_timer(&all_cpu_data[cpu_num]->timer); | 781 | del_timer_sync(&all_cpu_data[cpu_num]->timer); |
| 782 | intel_pstate_set_pstate(cpu, cpu->pstate.min_pstate); | 782 | intel_pstate_set_pstate(cpu, cpu->pstate.min_pstate); |
| 783 | kfree(all_cpu_data[cpu_num]); | 783 | kfree(all_cpu_data[cpu_num]); |
| 784 | all_cpu_data[cpu_num] = NULL; | 784 | all_cpu_data[cpu_num] = NULL; |
