From patchwork Mon Dec 20 13:09:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexey Charkov X-Patchwork-Id: 420711 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id oBKDA2qs015389 for ; Mon, 20 Dec 2010 13:10:03 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757522Ab0LTNKB (ORCPT ); Mon, 20 Dec 2010 08:10:01 -0500 Received: from mail-ew0-f45.google.com ([209.85.215.45]:33933 "EHLO mail-ew0-f45.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757567Ab0LTNKA (ORCPT ); Mon, 20 Dec 2010 08:10:00 -0500 Received: by ewy10 with SMTP id 10so1387865ewy.4 for ; Mon, 20 Dec 2010 05:09:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:to:cc:subject :message-id:mime-version:content-type:content-disposition :in-reply-to:user-agent; bh=N340zHFPjOGrqICYJjoEWLJv29ZSfuBwieQiq/4FtXg=; b=pVrfhnGqfTtEc+AhNPYcPly9k2QPGforpjTh5+ESmM0pvvhLqKovUKINq8cw/w43Ui f3Uyikqtn/58qAhGqjU2qBHR6YHrv3fR2geT0DG2tWi+L3fjhkxMdsTlJJv1J891qOlG NZJbXL8waOB4HDUYmDgy19jq3eUJS//BmzAho= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:to:cc:subject:message-id:mime-version:content-type :content-disposition:in-reply-to:user-agent; b=JO/C7LDdK9zctabM3bzR3A1rvMv09PO+Z70RHlTW3vCJGelWBxF/H2aJo8xy8hDTNS eF807v6PpMG3HpRgSWF5RLqk/t2OmOwFpasHIBB/7WH6AvmxGzNkB9ZC9elRMvu72WtB DHfkcaKQf4q2VnYhZLz9KLo2AZLC42mGTakEo= Received: by 10.213.9.136 with SMTP id l8mr1912681ebl.53.1292850599150; Mon, 20 Dec 2010 05:09:59 -0800 (PST) Received: from localhost ([109.188.13.241]) by mx.google.com with ESMTPS id u1sm2847359eeh.10.2010.12.20.05.09.56 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 20 Dec 2010 05:09:58 -0800 (PST) Date: Mon, 20 Dec 2010 16:09:57 +0300 From: Alexey Charkov To: "Janorkar, Mayuresh" Cc: Alexey Charkov , Paul Mundt , "linux-fbdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "vt8500-wm8505-linux-kernel@googlegroups.com" Subject: [PATCH 2/2] fbdev: Modify vsync timing calculation in wm8505fb Message-ID: <20101220130957.GB3627@alchark-u3s> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20101220130314.GA3627@alchark-u3s> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-fbdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-fbdev@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter1.kernel.org [140.211.167.41]); Mon, 20 Dec 2010 13:10:03 +0000 (UTC) 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);