ARM: h1940: framebuffer configuration fix
authorMike Solovyev <ms@sk.2-ch.org>
Wed, 12 May 2010 11:38:00 +0000 (15:38 +0400)
committerBen Dooks <ben-linux@fluff.org>
Tue, 18 May 2010 02:41:55 +0000 (11:41 +0900)
Seems like a typo, wrong setup leads to broken image on ipaq screen.

Signed-off-by: Mike Solovyev <ms@sk.2-ch.org>
Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c2410/mach-h1940.c

index b212561d2c57a703ee1ac68a13da7b6f80dfae3f..03028b98f3622536bd5cb799ab67d6825cdfb2e3 100644 (file)
@@ -162,8 +162,8 @@ static struct s3c2410fb_display h1940_lcd __initdata = {
        .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,