From patchwork Mon Oct 18 21:07:36 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Drake X-Patchwork-Id: 263471 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 o9IL8KTo024829 for ; Mon, 18 Oct 2010 21:08:20 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933208Ab0JRVIS (ORCPT ); Mon, 18 Oct 2010 17:08:18 -0400 Received: from mtaout01-winn.ispmail.ntl.com ([81.103.221.47]:17201 "EHLO mtaout01-winn.ispmail.ntl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933126Ab0JRVIR (ORCPT ); Mon, 18 Oct 2010 17:08:17 -0400 Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20101018210740.CGA3266.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com>; Mon, 18 Oct 2010 22:07:40 +0100 Received: from zog.reactivated.net ([86.14.215.141]) by aamtaout03-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20101018210740.GPYR28282.aamtaout03-winn.ispmail.ntl.com@zog.reactivated.net>; Mon, 18 Oct 2010 22:07:40 +0100 Received: by zog.reactivated.net (Postfix, from userid 1000) id D41009D401B; Mon, 18 Oct 2010 22:07:36 +0100 (BST) From: Daniel Drake To: corbet@lwn.net To: mchehab@infradead.org Cc: linux-media@vger.kernel.org Subject: [PATCH] ov7670: fix QVGA visible area Message-Id: <20101018210736.D41009D401B@zog.reactivated.net> Date: Mon, 18 Oct 2010 22:07:36 +0100 (BST) X-Cloudmark-Analysis: v=1.1 cv=3ENABmdyEd/Fm7fR7+mZIuMDn6+IErAeEhlfWBImZFk= c=1 sm=0 a=LINSOFkiuE4A:10 a=Op-mwl0xAAAA:8 a=dViQxqg2gF2NNQhfagcA:9 a=O4OQR3kTalMfip3p6PYA:7 a=hupdayVZnhOBg-RcJLC218aTjeEA:4 a=d4CUUju0HPYA:10 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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, 18 Oct 2010 21:08:20 +0000 (UTC) diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c index a18dcd0..0b78f33 100644 --- a/drivers/media/video/ov7670.c +++ b/drivers/media/video/ov7670.c @@ -675,10 +675,10 @@ static struct ov7670_win_size { .width = QVGA_WIDTH, .height = QVGA_HEIGHT, .com7_bit = COM7_FMT_QVGA, - .hstart = 164, /* Empirically determined */ - .hstop = 20, - .vstart = 14, - .vstop = 494, + .hstart = 168, /* Empirically determined */ + .hstop = 24, + .vstart = 12, + .vstop = 492, .regs = NULL, }, /* QCIF */