From patchwork Tue Feb 2 04:54:38 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kuninori Morimoto X-Patchwork-Id: 2553 Return-path: Envelope-to: mchehab@infradead.org Delivery-date: Tue, 02 Feb 2010 05:25:43 +0000 Received: from bombadil.infradead.org [18.85.46.34] by pedra with IMAP (fetchmail-6.3.6) for (single-drop); Tue, 02 Feb 2010 09:10:35 -0200 (BRST) Received: from vger.kernel.org ([209.132.180.67]) by bombadil.infradead.org with esmtp (Exim 4.69 #1 (Red Hat Linux)) id 1NcBGh-0005dU-6I; Tue, 02 Feb 2010 05:25:43 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750945Ab0BBFZm (ORCPT + 1 other); Tue, 2 Feb 2010 00:25:42 -0500 Received: from mail.renesas.com ([202.234.163.13]:40462 "EHLO mail01.idc.renesas.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751222Ab0BBFZk (ORCPT ); Tue, 2 Feb 2010 00:25:40 -0500 X-AuditID: ac140384-00000008000004f6-d2-4b67b74f5c33 Received: from guardian02.idc.renesas.com ([172.20.8.201]) by mail01.idc.renesas.com (sendmail) with ESMTP id o125PZOP002748; Tue, 2 Feb 2010 14:25:35 +0900 (JST) Received: (from root@localhost) by guardian02.idc.renesas.com with id o125PZuM029760; Tue, 2 Feb 2010 14:25:35 +0900 (JST) Received: from mta01.idc.renesas.com (localhost [127.0.0.1]) by mta01.idc.renesas.com with ESMTP id o125PYZm012137; Tue, 2 Feb 2010 14:25:34 +0900 (JST) Received: from PG10870.renesas.com ([172.30.8.159]) by ims05.idc.renesas.com (Sendmail) with ESMTPA id <0KX700EH98ELS9@ims05.idc.renesas.com>; Tue, 02 Feb 2010 14:25:34 +0900 (JST) Date: Tue, 02 Feb 2010 13:54:38 +0900 From: Kuninori Morimoto Subject: [PATCH 2/3] soc-camera: mt9t112: modify delay time after initialize To: Guennadi Cc: Linux-V4L2 , Takashi.Namiki@renesas.com, Phil.Edworthy@renesas.com 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.3 (i386-msvc-nt5.1.2600) MULE/5.0 (SAKAKI) Meadow/3.02-dev (RINDOU) (2009-06-17 Rev.4261) X-Brightmail-Tracker: AAAAAA== Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org mt9t112 camera needs 100 milliseconds for initializing Special thanks to Phil Signed-off-by: Kuninori Morimoto Reported-by: Phil Edworthy --- drivers/media/video/mt9t112.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/media/video/mt9t112.c b/drivers/media/video/mt9t112.c index 7438f8d..e581d8a 100644 --- a/drivers/media/video/mt9t112.c +++ b/drivers/media/video/mt9t112.c @@ -885,7 +885,7 @@ static int mt9t112_s_stream(struct v4l2_subdev *sd, int enable) /* Invert PCLK (Data sampled on falling edge of pixclk) */ mt9t112_reg_write(ret, client, 0x3C20, param); - mdelay(5); + mdelay(100); priv->flags |= INIT_DONE; }