Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 294214
b: refs/heads/master
c: 23f1365
h: refs/heads/master
v: v3
  • Loading branch information
Vasily Khoruzhick authored and Florian Tobias Schandinat committed Mar 6, 2012
1 parent a1d418c commit 2e925d4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: d282e4d9353b9e7971713aa9e78da716e4a1262d
refs/heads/master: 23f1365677a84f775d374a1d8ca0360257685894
6 changes: 5 additions & 1 deletion trunk/drivers/video/pxafb.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
#include <linux/mutex.h>
#include <linux/kthread.h>
#include <linux/freezer.h>
#include <linux/console.h>

#include <mach/hardware.h>
#include <asm/io.h>
Expand Down Expand Up @@ -730,9 +731,12 @@ static int overlayfb_open(struct fb_info *info, int user)
if (user == 0)
return -ENODEV;

if (ofb->usage++ == 0)
if (ofb->usage++ == 0) {
/* unblank the base framebuffer */
console_lock();
fb_blank(&ofb->fbi->fb, FB_BLANK_UNBLANK);
console_unlock();
}

return 0;
}
Expand Down

0 comments on commit 2e925d4

Please sign in to comment.