Skip to content

Commit

Permalink
[PATCH] fbcon: Save current display during initialization
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Antonino A. Daplas authored and Linus Torvalds committed Mar 31, 2006
1 parent 3e7e241 commit 1a37d5f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/video/console/fbcon.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 1a37d5f

Please sign in to comment.