Commit e2d6be2f authored by Antonino Daplas's avatar Antonino Daplas Committed by Linus Torvalds

[PATCH] fbcon: Save blank state last

Save blank state after do_blank|unblank_screen() since this flag is checked in
fbcon_blank().
Signed-off-by: default avatarAntonino Daplas <adaplas@pol.net>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 4efc7303
...@@ -2654,13 +2654,12 @@ static void fbcon_fb_blanked(struct fb_info *info, int blank) ...@@ -2654,13 +2654,12 @@ static void fbcon_fb_blanked(struct fb_info *info, int blank)
vc = vc_cons[ops->currcon].d; vc = vc_cons[ops->currcon].d;
if (CON_IS_VISIBLE(vc)) { if (CON_IS_VISIBLE(vc)) {
ops->blank_state = blank;
if (blank) if (blank)
do_blank_screen(0); do_blank_screen(0);
else else
do_unblank_screen(0); do_unblank_screen(0);
} }
ops->blank_state = blank;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment