From patchwork Mon Apr 13 06:40:04 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 17976 X-Patchwork-Delegate: lethal@linux-sh.org Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n3E0HN3m003584 for ; Tue, 14 Apr 2009 00:17:23 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752183AbZDNARW (ORCPT ); Mon, 13 Apr 2009 20:17:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752345AbZDNARW (ORCPT ); Mon, 13 Apr 2009 20:17:22 -0400 Received: from mail.renesas.com ([202.234.163.13]:63165 "EHLO mail06.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751697AbZDNARW (ORCPT ); Mon, 13 Apr 2009 20:17:22 -0400 X-AuditID: ac14038a-0000000900001ca1-92-49e3d60a7b2e Received: from guardian01.idc.renesas.com ([172.20.8.200]) by mail06.idc.renesas.com (sendmail) with ESMTP id n3E0HEBu009220; Tue, 14 Apr 2009 09:17:14 +0900 (JST) Received: (from root@localhost) by guardian01.idc.renesas.com with id n3E0HFS8000477; Tue, 14 Apr 2009 09:17:15 +0900 (JST) Received: from mta02.idc.renesas.com (localhost [127.0.0.1]) by mta02.idc.renesas.com with ESMTP id n3E0HFtN018234; Tue, 14 Apr 2009 09:17:15 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KI2004UPE4NOU@ims05.idc.renesas.com>; Tue, 14 Apr 2009 09:17:14 +0900 (JST) Date: Mon, 13 Apr 2009 15:40:04 +0900 From: Kuninori Morimoto Subject: [PATCH v2] ap325: use edge control for ov772x camera To: Paul Mundt Cc: SH-Linux Message-id: MIME-version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-type: text/plain; charset=US-ASCII User-Agent: SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (=?ISO-8859-4?Q?Goj=F2?=) APEL/10.7 Emacs/22.1 (i386-mingw-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.00-dev (KIKU) X-Brightmail-Tracker: AAAAAA== Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org Because of an influence of the lens, current ov772x camera on ap325 board display the part on the edge in strong white. This patch set edge control parameter to suppress it. Signed-off-by: Kuninori Morimoto --- v1 -> v2 o add explanation arch/sh/boards/board-ap325rxa.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/arch/sh/boards/board-ap325rxa.c b/arch/sh/boards/board-ap325rxa.c index 912458f..39e4691 100644 --- a/arch/sh/boards/board-ap325rxa.c +++ b/arch/sh/boards/board-ap325rxa.c @@ -349,6 +349,7 @@ static int ov7725_power(struct device *dev, int mode) static struct ov772x_camera_info ov7725_info = { .buswidth = SOCAM_DATAWIDTH_8, .flags = OV772X_FLAG_VFLIP | OV772X_FLAG_HFLIP, + .edgectrl = OV772X_AUTO_EDGECTRL(0xf, 0), .link = { .power = ov7725_power, },