[PATCH] fbcon: Save current display during initialization
The current display was not saved during initialization. This leads to hard to track console corruption, such as a misplaced cursor, which is correctible by switching consoles. Fix this minor bug. Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
3e7e241f8c
commit
1a37d5f510
|
@ -1142,6 +1142,7 @@ static void fbcon_init(struct vc_data *vc, int init)
|
|||
set_blitting_type(vc, info);
|
||||
}
|
||||
|
||||
ops->p = &fb_display[fg_console];
|
||||
}
|
||||
|
||||
static void fbcon_deinit(struct vc_data *vc)
|
||||
|
|
Loading…
Reference in a new issue