Skip to content

Commit

Permalink
msm: mdss: Use interruptible wait to not affect load average
Browse files Browse the repository at this point in the history
Change-Id: I7ad6644ca49e8f4d30ede9076dd1854a19614570
  • Loading branch information
myfluxi committed Nov 14, 2014
1 parent 20ee83d commit 9e07736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/video/msm/mdss/mdss_fb.c
Original file line number Diff line number Diff line change
Expand Up @@ -1615,7 +1615,7 @@ static int __mdss_fb_display_thread(void *data)
pr_info("%s: set priority failed\n", __func__);

while (1) {
wait_event(mfd->commit_wait_q,
wait_event_interruptible(mfd->commit_wait_q,
(atomic_read(&mfd->commits_pending) ||
kthread_should_stop()));

Expand Down

0 comments on commit 9e07736

Please sign in to comment.