mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 12:28:41 +08:00
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>
This commit is contained in:
parent
a7f53284e9
commit
623eb15647
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user