[PATCH] h1940: framebuffer configuration fix

Mike Solovyev ms at sk.2-ch.org
Wed May 12 15:20:29 EDT 2010


Seems like a typo, wrong setup leads to broken image on ipaq screen.

Signed-off-by: Mike Solovyev <ms at sk.2-ch.org>
Signed-off-by: Arnaud Patard <arnaud.patard at rtp-net.org>
---
 arch/arm/mach-s3c2410/mach-h1940.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Index: linux-2.6/arch/arm/mach-s3c2410/mach-h1940.c
===================================================================
--- linux-2.6.orig/arch/arm/mach-s3c2410/mach-h1940.c
+++ linux-2.6/arch/arm/mach-s3c2410/mach-h1940.c
@@ -162,8 +162,8 @@ static struct s3c2410fb_display h1940_lc
 	.xres =		240,
 	.yres =		320,
 	.bpp =		16,
-	.left_margin =	20,
-	.right_margin =	8,
+	.left_margin =	8,
+	.right_margin =	20,
 	.hsync_len =	4,
 	.upper_margin =	8,
 	.lower_margin = 7,



More information about the linux-arm-kernel mailing list