2002-11-11 11:52:41

by Carl-Daniel Hailfinger

[permalink] [raw]
Subject: [PATCH] restore framebuffer console after suspend

diff -Naur linux.orig/drivers/video/fbcon.c linux/drivers/video/fbcon.c
--- linux.orig/drivers/video/fbcon.c Thu Sep 12 17:22:35 2002
+++ linux/drivers/video/fbcon.c Fri Nov 8 13:09:41 2002
@@ -1571,10 +1571,6 @@ static int fbcon_blank(struct vc_data *c

if (blank < 0) /* Entering graphics mode */
return 0;
-#ifdef CONFIG_PM
- if (fbcon_sleeping)
- return 0;
-#endif /* CONFIG_PM */

fbcon_cursor(p->conp, blank ? CM_ERASE : CM_DRAW);


Attachments:
patch-fbdev.txt (461.00 B)