Loading drivers/video/pxafb.c +5 −1 Original line number Original line Diff line number Diff line Loading @@ -54,6 +54,7 @@ #include <linux/mutex.h> #include <linux/mutex.h> #include <linux/kthread.h> #include <linux/kthread.h> #include <linux/freezer.h> #include <linux/freezer.h> #include <linux/console.h> #include <mach/hardware.h> #include <mach/hardware.h> #include <asm/io.h> #include <asm/io.h> Loading Loading @@ -730,9 +731,12 @@ static int overlayfb_open(struct fb_info *info, int user) if (user == 0) if (user == 0) return -ENODEV; return -ENODEV; if (ofb->usage++ == 0) if (ofb->usage++ == 0) { /* unblank the base framebuffer */ /* unblank the base framebuffer */ console_lock(); fb_blank(&ofb->fbi->fb, FB_BLANK_UNBLANK); fb_blank(&ofb->fbi->fb, FB_BLANK_UNBLANK); console_unlock(); } return 0; return 0; } } Loading Loading
drivers/video/pxafb.c +5 −1 Original line number Original line Diff line number Diff line Loading @@ -54,6 +54,7 @@ #include <linux/mutex.h> #include <linux/mutex.h> #include <linux/kthread.h> #include <linux/kthread.h> #include <linux/freezer.h> #include <linux/freezer.h> #include <linux/console.h> #include <mach/hardware.h> #include <mach/hardware.h> #include <asm/io.h> #include <asm/io.h> Loading Loading @@ -730,9 +731,12 @@ static int overlayfb_open(struct fb_info *info, int user) if (user == 0) if (user == 0) return -ENODEV; return -ENODEV; if (ofb->usage++ == 0) if (ofb->usage++ == 0) { /* unblank the base framebuffer */ /* unblank the base framebuffer */ console_lock(); fb_blank(&ofb->fbi->fb, FB_BLANK_UNBLANK); fb_blank(&ofb->fbi->fb, FB_BLANK_UNBLANK); console_unlock(); } return 0; return 0; } } Loading