Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Alexey Charkov and committed by
Paul Mundt
623eb156 a7f53284

+1 -1
+1 -1
drivers/video/wm8505fb.c
··· 88 88 int v_start = info->var.upper_margin; 89 89 int v_end = v_start + info->var.yres; 90 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 93 writel(0, fbi->regbase + WMT_GOVR_TG); 94 94