Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 338bbbdd authored by Taekki Kim's avatar Taekki Kim Committed by alexax66
Browse files

cpufreq: interactive: add loop condition for speedchange_task



Currently, the speedchange_task is checked should_stop state
after called schedule(). In this case, the speedchange_task
can not exit when called kthread_stop with TASK_RUNNING. Because
the speedchange_task entered sleep state with TASK_INTERRUTIBLE.
So, add the should_stop state check to while loop condition.

Change-Id: I5e48bb5be6b5af3cea955b3304eee1474b67ae52
Signed-off-by: default avatarTaekki Kim <taekki.kim@samsung.com>
parent 48b0d0f0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment