ARM: S3C64XX: Framebuffer fix for SmartQ5
authorPatrick Georgi <mcuelenaere@gmail.com>
Fri, 13 Aug 2010 19:17:56 +0000 (21:17 +0200)
committerBen Dooks <ben-linux@fluff.org>
Sat, 14 Aug 2010 15:15:56 +0000 (16:15 +0100)
The following change makes the framebuffer work on SmartQ5. There are
still some problems with ADC, so this patch alone won't make the device
run (or even give a working fb), but it's one issue less to think about.

Signed-off-by: Patrick Georgi <patrick@georgi-clan.de>
Signed-off-by: Maurus Cuelenaere <mcuelenaere@gmail.com>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/mach-s3c64xx/mach-smartq5.c

index 82a9043..70bcbca 100644 (file)
@@ -110,10 +110,10 @@ static struct s3c_fb_pd_win smartq5_fb_win0 = {
        .win_mode       = {
                .pixclock       = 1000000000000ULL /
                                ((40+1+216+800)*(10+1+35+480)*80),
-               .left_margin    = 40,
-               .right_margin   = 216,
-               .upper_margin   = 10,
-               .lower_margin   = 35,
+               .left_margin    = 216,
+               .right_margin   = 40,
+               .upper_margin   = 35,
+               .lower_margin   = 10,
                .hsync_len      = 1,
                .vsync_len      = 1,
                .xres           = 800,