From: Alexey Charkov <alchark@gmail.com>
To: "Janorkar, Mayuresh" <mayur@ti.com>
Cc: Alexey Charkov <alchark@gmail.com>,
Paul Mundt <lethal@linux-sh.org>,
"linux-fbdev@vger.kernel.org" <linux-fbdev@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"vt8500-wm8505-linux-kernel@googlegroups.com"
<vt8500-wm8505-linux-kernel@googlegroups.com>
Subject: [PATCH 2/2] fbdev: Modify vsync timing calculation in wm8505fb
Date: Mon, 20 Dec 2010 13:09:57 +0000 [thread overview]
Message-ID: <20101220130957.GB3627@alchark-u3s> (raw)
In-Reply-To: <20101220130314.GA3627@alchark-u3s>
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>
---
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 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);
--
1.7.3.4
next prev parent reply other threads:[~2010-12-20 13:09 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-19 18:13 [PATCH] fbdev: Minor cleanup in WM8505-related code Alexey Charkov
2010-12-20 5:18 ` Janorkar, Mayuresh
2010-12-20 13:03 ` [PATCH 1/2] " Alexey Charkov
2010-12-20 13:09 ` Alexey Charkov [this message]
2010-12-20 16:00 ` [PATCH 2/2] fbdev: Modify vsync timing calculation in wm8505fb Paul Mundt
2010-12-20 16:04 ` Alexey Charkov
2010-12-20 16:05 ` Paul Mundt
2010-12-20 16:00 ` [PATCH 1/2] fbdev: Minor cleanup in WM8505-related code Paul Mundt
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20101220130957.GB3627@alchark-u3s \
--to=alchark@gmail.com \
--cc=lethal@linux-sh.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mayur@ti.com \
--cc=vt8500-wm8505-linux-kernel@googlegroups.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).