diff options
author | Alexey Charkov <alchark@gmail.com> | 2010-12-20 08:09:57 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-12-20 11:05:48 -0500 |
commit | 623eb15647fc35c5a8cd38985d5958240eb072c1 (patch) | |
tree | b9fbf698052bc94384dc990b25838d8641cb8705 | |
parent | a7f53284e97af9670a68993c31f61a4e62a19ea5 (diff) |
fbdev: Modify vsync timing calculation in wm8505fb
This removes the '+1' in vsync timing calculation for wm8505fb to
directly use values provided from the board setup code.
Signed-off-by: Alexey Charkov <alchark@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
-rw-r--r-- | drivers/video/wm8505fb.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/video/wm8505fb.c b/drivers/video/wm8505fb.c index 9ca9dbb62f96..96e34a569169 100644 --- a/drivers/video/wm8505fb.c +++ b/drivers/video/wm8505fb.c | |||
@@ -88,7 +88,7 @@ static int wm8505fb_set_timing(struct fb_info *info) | |||
88 | int v_start = info->var.upper_margin; | 88 | int v_start = info->var.upper_margin; |
89 | int v_end = v_start + info->var.yres; | 89 | int v_end = v_start + info->var.yres; |
90 | int v_all = v_end + info->var.lower_margin; | 90 | int v_all = v_end + info->var.lower_margin; |
91 | int v_sync = info->var.vsync_len + 1; | 91 | int v_sync = info->var.vsync_len; |
92 | 92 | ||
93 | writel(0, fbi->regbase + WMT_GOVR_TG); | 93 | writel(0, fbi->regbase + WMT_GOVR_TG); |
94 | 94 | ||