diff options
-rw-r--r-- | drivers/video/console/fbcon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c index 3660e51b2612..50e4c4eb491f 100644 --- a/drivers/video/console/fbcon.c +++ b/drivers/video/console/fbcon.c | |||
@@ -1110,7 +1110,7 @@ static void fbcon_init(struct vc_data *vc, int init) | |||
1110 | * | 1110 | * |
1111 | * We need to do it in fbcon_init() to prevent screen corruption. | 1111 | * We need to do it in fbcon_init() to prevent screen corruption. |
1112 | */ | 1112 | */ |
1113 | if (CON_IS_VISIBLE(vc)) { | 1113 | if (CON_IS_VISIBLE(vc) && vc->vc_mode == KD_TEXT) { |
1114 | if (info->fbops->fb_set_par && | 1114 | if (info->fbops->fb_set_par && |
1115 | !(ops->flags & FBCON_FLAGS_INIT)) | 1115 | !(ops->flags & FBCON_FLAGS_INIT)) |
1116 | info->fbops->fb_set_par(info); | 1116 | info->fbops->fb_set_par(info); |