Skip to contentSkip to conversation

h1940: framebuffer configuration fix

PATCH New Mike Solovyev 1 participant 1 message May 12, 2010

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 h1940: framebuffer configuration fix

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

---
 arch/arm/mach-s3c2410/mach-h1940.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
arch/arm/mach-s3c2410/mach-h1940.c +2 -2
Index: 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,