Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 123945
b: refs/heads/master
c: 07f651c
h: refs/heads/master
i:
  123943: e155c5d
v: v3
  • Loading branch information
Eric Miao committed Dec 17, 2008
1 parent dd3de98 commit 81c0196
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 69bdea7047fbac88beb8b7ba9e428c4f0e53f563
refs/heads/master: 07f651c72ac0530033883c113939d9b9c7fa75e5
4 changes: 4 additions & 0 deletions trunk/drivers/video/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -794,11 +794,15 @@ static int pxafb_smart_thread(void *arg)
if (try_to_freeze())
continue;

mutex_lock(&fbi->ctrlr_lock);

if (fbi->state == C_ENABLE) {
inf->smart_update(&fbi->fb);
complete(&fbi->refresh_done);
}

mutex_unlock(&fbi->ctrlr_lock);

set_current_state(TASK_INTERRUPTIBLE);
schedule_timeout(30 * HZ / 1000);
}
Expand Down

0 comments on commit 81c0196

Please sign in to comment.