Date:2010-04-24 12:23:28 (4 years 3 months ago)
Author:Lars C.
Commit:a7ce78192cc635caee35461c493cca5a0eac1390
Message:Framebuffer notifier: Call notifier callbacks prior to blanking the screen

Files: drivers/video/fbmem.c (2 diffs)

Change Details

drivers/video/fbmem.c
990990int
991991fb_blank(struct fb_info *info, int blank)
992992{
993     int ret = -EINVAL;
993     int ret = 0;
994994
995995     if (blank > FB_BLANK_POWERDOWN)
996996         blank = FB_BLANK_POWERDOWN;
997997
998    if (info->fbops->fb_blank)
998    if (info->fbops->fb_blank && blank == FB_BLANK_UNBLANK)
999999         ret = info->fbops->fb_blank(blank, info);
10001000
10011001     if (!ret) {
...... 
10061006        fb_notifier_call_chain(FB_EVENT_BLANK, &event);
10071007    }
10081008
1009    if (info->fbops->fb_blank && blank != FB_BLANK_UNBLANK)
1010         ret = info->fbops->fb_blank(blank, info);
1011
1012
10091013     return ret;
10101014}
10111015

Archive Download the corresponding diff file



interactive