From: Juri Lelli Date: Fri, 11 Dec 2015 11:55:51 +0000 (+0000) Subject: fixup! sched: scheduler-driven cpu frequency selection X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=3eb29105cfe14719e0b61c782efd4b3b509d786d;p=GitHub%2Fexynos8895%2Fandroid_kernel_samsung_universal8895.git fixup! sched: scheduler-driven cpu frequency selection Signed-off-by: Juri Lelli --- diff --git a/kernel/sched/cpufreq_sched.c b/kernel/sched/cpufreq_sched.c index 5afe56a82491..e1d208e101ed 100644 --- a/kernel/sched/cpufreq_sched.c +++ b/kernel/sched/cpufreq_sched.c @@ -119,9 +119,9 @@ static int cpufreq_sched_thread(void *data) } do { - set_current_state(TASK_INTERRUPTIBLE); new_request = gd->requested_freq; if (new_request == last_request) { + set_current_state(TASK_INTERRUPTIBLE); schedule(); } else { /*