diff mbox

[2/2] fbdev: Modify vsync timing calculation in wm8505fb

Message ID 20101220130957.GB3627@alchark-u3s (mailing list archive)
State Accepted
Headers show

Commit Message

Alexey Charkov Dec. 20, 2010, 1:09 p.m. UTC
None
diff mbox

Patch

diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c
index 9ca9dbb..96e34a5 100644
--- a/drivers/video/wm8505fb.c
+++ b/drivers/video/wm8505fb.c
@@ -88,7 +88,7 @@  static int wm8505fb_set_timing(struct fb_info *info)
 	int v_start = info->var.upper_margin;
 	int v_end = v_start + info->var.yres;
 	int v_all = v_end + info->var.lower_margin;
-	int v_sync = info->var.vsync_len + 1;
+	int v_sync = info->var.vsync_len;
 
 	writel(0, fbi->regbase + WMT_GOVR_TG);