Fixed display programming limits for EA and FDI boards.
authorKevin Wells <wellsk40@gmail.com>
Fri, 1 Oct 2010 13:39:23 +0000 (06:39 -0700)
committerKevin Wells <wellsk40@gmail.com>
Fri, 1 Oct 2010 13:39:23 +0000 (06:39 -0700)
Fixed an issue where the VSYNC check would fail if it was over 32.

arch/arm/mach-lpc32xx/ea3250.c
include/linux/amba/clcd.h

index 17a2b8a..8afcceb 100644 (file)
@@ -255,7 +255,7 @@ static struct clcd_panel conn_lcd_panel = {
                 .right_margin   = 10,
                 .upper_margin   = 2,
                 .lower_margin   = 2,
-                .hsync_len      = 2,
+                .hsync_len      = 3,
                 .vsync_len      = 2,
                 .sync           = 0,
                 .vmode          = FB_VMODE_NONINTERLACED,
index edadb6a..f889bb2 100644 (file)
@@ -257,7 +257,7 @@ static inline int clcdfb_check(struct clcd_fb *fb, struct fb_var_screeninfo *var
            var->xres > 1024 ||
            var->lower_margin > 255 ||          /* back porch */
            var->upper_margin > 255 ||          /* front porch */
-           var->vsync_len > 32 ||
+           var->vsync_len > 64 ||
            var->yres > 1024)
                return -EINVAL;
 #undef CHECK