aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/video/console/fbcon.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/video/console/fbcon.c')
-rw-r--r--drivers/video/console/fbcon.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/console/fbcon.c b/drivers/video/console/fbcon.c
index bd131d472e24..f1e3e3c00b21 100644
--- a/drivers/video/console/fbcon.c
+++ b/drivers/video/console/fbcon.c
@@ -1310,7 +1310,7 @@ static void fbcon_cursor(struct vc_data *vc, int mode)
1310 int y; 1310 int y;
1311 int c = scr_readw((u16 *) vc->vc_pos); 1311 int c = scr_readw((u16 *) vc->vc_pos);
1312 1312
1313 if (fbcon_is_inactive(vc, info)) 1313 if (fbcon_is_inactive(vc, info) || vc->vc_deccm != 1)
1314 return; 1314 return;
1315 1315
1316 ops->cursor_flash = (mode == CM_ERASE) ? 0 : 1; 1316 ops->cursor_flash = (mode == CM_ERASE) ? 0 : 1;