aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/s3c24xx/patches-2.6.26/0129-gta01-fix-resume-redo-par.patch.patch
blob: 40462b5edb034e1f4af175a861e28bee27a400db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
From 925a4851d2235f4b23ea01ef42152823f7524c9c Mon Sep 17 00:00:00 2001
From: Reddog <reddog@mastersword.de>
Date: Fri, 25 Jul 2008 23:06:07 +0100
Subject: [PATCH] gta01-fix-resume-redo-par.patch

 --> (http://bugzilla.openmoko.org/cgi-bin/bugzilla/attachment.cgi?id=595&action=view)
fix resume of fbdev  BZ#79

I played a bit with the fbdev resume. With this patch the neo doesn't get this
white screen on resume from console and from X.

Signed-off-by: Reddog <reddog@mastersword.de>
---
 drivers/video/s3c2410fb.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/drivers/video/s3c2410fb.c b/drivers/video/s3c2410fb.c
index f059896..cd030d7 100644
--- a/drivers/video/s3c2410fb.c
+++ b/drivers/video/s3c2410fb.c
@@ -1017,6 +1017,8 @@ static int s3c2410fb_resume(struct platform_device *dev)
 
 	s3c2410fb_init_registers(fbinfo);
 
+	s3c2410fb_set_par(fbinfo);
+
 	return 0;
 }
 
-- 
1.5.6.3