From patchwork Fri May 27 12:58:11 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Kim, HeungJun" X-Patchwork-Id: 824072 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter2.kernel.org (8.14.4/8.14.3) with ESMTP id p4RCwEjY010090 for ; Fri, 27 May 2011 12:58:16 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753633Ab1E0M6O (ORCPT ); Fri, 27 May 2011 08:58:14 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:36900 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750878Ab1E0M6M (ORCPT ); Fri, 27 May 2011 08:58:12 -0400 Received: from epcpsbgm1.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Exchange Server 7u4-19.01 64bit (built Sep 7 2010)) with ESMTP id <0LLU0096EUOYJTU0@mailout2.samsung.com> for linux-media@vger.kernel.org; Fri, 27 May 2011 21:58:10 +0900 (KST) X-AuditID: cbfee61a-b7ce2ae000001a8f-91-4ddf9fe2daed Received: from epmmp2 ( [203.254.227.17]) by epcpsbgm1.samsung.com (MMPCPMTA) with SMTP id DD.1D.06799.2EF9FDD4; Fri, 27 May 2011 21:58:10 +0900 (KST) Received: from TNRNDGASPAPP1.tn.corp.samsungelectronics.net ([165.213.149.150]) by mmp2.samsung.com (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTPA id <0LLU00DYAUOY16@mmp2.samsung.com> for linux-media@vger.kernel.org; Fri, 27 May 2011 21:58:10 +0900 (KST) Received: from localhost.localdomain ([165.213.219.119]) by TNRNDGASPAPP1.tn.corp.samsungelectronics.net with Microsoft SMTPSVC(6.0.3790.4675); Fri, 27 May 2011 21:58:08 +0900 Date: Fri, 27 May 2011 21:58:11 +0900 From: "HeungJun, Kim" Subject: [PATCH 1/5] m5mols: fix reading wrong size of captured main/thumb image In-reply-to: <20110525135435.GA3547@valkosipuli.localdomain> To: linux-media@vger.kernel.org Cc: mchehab@infradead.org, s.nawrocki@samsung.com, sakari.ailus@iki.fi, "HeungJun, Kim" , Kyungmin Park Message-id: <1306501095-28267-2-git-send-email-riverful.kim@samsung.com> X-Mailer: git-send-email 1.7.0.4 Content-transfer-encoding: 7BIT References: <20110525135435.GA3547@valkosipuli.localdomain> X-OriginalArrivalTime: 27 May 2011 12:58:08.0279 (UTC) FILETIME=[B9E64270:01CC1C6D] X-Brightmail-Tracker: AAAAAA== 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.6 (demeter2.kernel.org [140.211.167.43]); Fri, 27 May 2011 12:58:16 +0000 (UTC) Signed-off-by: HeungJun, Kim Signed-off-by: Kyungmin Park --- drivers/media/video/m5mols/m5mols_reg.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/video/m5mols/m5mols_reg.h b/drivers/media/video/m5mols/m5mols_reg.h index b83e36f..8260f50 100644 --- a/drivers/media/video/m5mols/m5mols_reg.h +++ b/drivers/media/video/m5mols/m5mols_reg.h @@ -382,8 +382,8 @@ #define REG_CAP_START_MAIN 0x01 #define REG_CAP_START_THUMB 0x03 -#define CAPC_IMAGE_SIZE I2C_REG(CAT_CAPT_CTRL, CATC_CAP_IMAGE_SIZE, 1) -#define CAPC_THUMB_SIZE I2C_REG(CAT_CAPT_CTRL, CATC_CAP_THUMB_SIZE, 1) +#define CAPC_IMAGE_SIZE I2C_REG(CAT_CAPT_CTRL, CATC_CAP_IMAGE_SIZE, 4) +#define CAPC_THUMB_SIZE I2C_REG(CAT_CAPT_CTRL, CATC_CAP_THUMB_SIZE, 4) /* * Category F - Flash