From patchwork Fri Oct 8 21:04:18 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Drake X-Patchwork-Id: 242561 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 o98L4Qbt006713 for ; Fri, 8 Oct 2010 21:04:26 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759688Ab0JHVEY (ORCPT ); Fri, 8 Oct 2010 17:04:24 -0400 Received: from mtain02-winn.ispmail.ntl.com ([81.103.221.42]:42939 "EHLO mtain02-winn.ispmail.ntl.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1759651Ab0JHVEX (ORCPT ); Fri, 8 Oct 2010 17:04:23 -0400 Received: from aamtaout02-winn.ispmail.ntl.com ([81.103.221.35]) by mtain02-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20101008210421.QJHV3063.mtain02-winn.ispmail.ntl.com@aamtaout02-winn.ispmail.ntl.com>; Fri, 8 Oct 2010 22:04:21 +0100 Received: from zog.reactivated.net ([86.14.215.141]) by aamtaout02-winn.ispmail.ntl.com (InterMail vG.3.00.04.00 201-2196-133-20080908) with ESMTP id <20101008210421.ITEF6697.aamtaout02-winn.ispmail.ntl.com@zog.reactivated.net>; Fri, 8 Oct 2010 22:04:21 +0100 Received: by zog.reactivated.net (Postfix, from userid 1000) id 2B1809D401C; Fri, 8 Oct 2010 22:04:18 +0100 (BST) From: Daniel Drake To: corbet@lwn.net To: mchehab@infradead.org Cc: linux-media@vger.kernel.org Subject: [PATCH 2/3] ov7670: disable QVGA mode Message-Id: <20101008210418.2B1809D401C@zog.reactivated.net> Date: Fri, 8 Oct 2010 22:04:18 +0100 (BST) X-Cloudmark-Analysis: v=1.1 cv=Y/fxq5mkTYDUU8GfMlS4WdBn1e+P8yNimR/RWI25r4U= c=1 sm=0 a=VBxKuj718X8A:10 a=Op-mwl0xAAAA:8 a=_VLeBydNVVCx1gN7_QEA:9 a=muut0J046rw5pJieknUA:7 a=S8RCqEBay4M6vuSPAtJyNJ-6bAAA: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]); Fri, 08 Oct 2010 21:04:26 +0000 (UTC) diff --git a/drivers/media/video/ov7670.c b/drivers/media/video/ov7670.c index 7017e5c..9fffcdd 100644 --- a/drivers/media/video/ov7670.c +++ b/drivers/media/video/ov7670.c @@ -672,7 +672,9 @@ static struct ov7670_win_size { .vstop = 494, .regs = NULL, }, - /* QVGA */ +#if 0 + /* QVGA - disabled due to ugly green line. + * http://dev.laptop.org/ticket/10231 */ { .width = QVGA_WIDTH, .height = QVGA_HEIGHT, @@ -683,6 +685,7 @@ static struct ov7670_win_size { .vstop = 494, .regs = NULL, }, +#endif #if 0 /* QCIF - disabled because it only shows a small portion of sensor FOV */ {