From patchwork Tue Jul 3 15:13:31 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: "Sylwester Nawrocki/Kernel \\(PLT\\) /SRPOL/Staff Engineer/Samsung Electronics" X-Patchwork-Id: 1151821 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork1.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork1.kernel.org (Postfix) with ESMTP id B758C3FE80 for ; Tue, 3 Jul 2012 15:13:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755464Ab2GCPNp (ORCPT ); Tue, 3 Jul 2012 11:13:45 -0400 Received: from mailout2.samsung.com ([203.254.224.25]:56778 "EHLO mailout2.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754763Ab2GCPNo (ORCPT ); Tue, 3 Jul 2012 11:13:44 -0400 Received: from epcpsbgm1.samsung.com (mailout2.samsung.com [203.254.224.25]) by mailout2.samsung.com (Oracle Communications Messaging Server 7u4-24.01(7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTP id <0M6L008OMBMLYY10@mailout2.samsung.com> for linux-media@vger.kernel.org; Wed, 04 Jul 2012 00:13:42 +0900 (KST) X-AuditID: cbfee61a-b7f086d000000e64-e6-4ff30c261c11 Received: from epmmp1.local.host ( [203.254.227.16]) by epcpsbgm1.samsung.com (EPCPMTA) with SMTP id 28.12.03684.62C03FF4; Wed, 04 Jul 2012 00:13:42 +0900 (KST) Received: from amdc248.digital.local ([106.116.147.32]) by mmp1.samsung.com (Oracle Communications Messaging Server 7u4-24.01 (7.0.4.24.0) 64bit (built Nov 17 2011)) with ESMTPA id <0M6L00LKCBMMDF90@mmp1.samsung.com> for linux-media@vger.kernel.org; Wed, 04 Jul 2012 00:13:42 +0900 (KST) From: Sylwester Nawrocki To: linux-media@vger.kernel.org Cc: kyungmin.park@samsung.com, riverful.kim@samsung.com, sw0312.kim@samsung.com, Sylwester Nawrocki Subject: [PATCH] m5mols: Correct reported ISO values Date: Tue, 03 Jul 2012 17:13:31 +0200 Message-id: <1341328411-24958-1-git-send-email-s.nawrocki@samsung.com> X-Mailer: git-send-email 1.7.10 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrFJMWRmVeSWpSXmKPExsVy+t9jAV01ns/+BluXGVv0bNjK6sDo8XmT XABjFJdNSmpOZllqkb5dAlfGmsOTWQtOclTcvn2PrYFxCXsXIyeHhICJxOZ5P1ggbDGJC/fW s3UxcnEICSxilHh1bC4zhLOcSeLN/E9sIFVsAoYSvUf7GEFsEQF5iSe9N8DizAJ1EoteX2IC sYWBpr5ecA8sziKgKvHkQDOYzSvgJrHj+xdWiG3yEk/v97FNYORewMiwilE0tSC5oDgpPddQ rzgxt7g0L10vOT93EyPYh8+kdjCubLA4xCjAwajEw/vg1yd/IdbEsuLK3EOMEhzMSiK83GeA QrwpiZVVqUX58UWlOanFhxilOViUxHmbrC/4CwmkJ5akZqemFqQWwWSZODilGhitjqWpsK1K e7gl5XSZ+8nJq7JP/ryeo6qwuvrBArl/hiuF+irf2jS5zLMLfeV0w7Wsy2W2SMEuryNZms0Z UltawuprebbPv5Z8ITzjTZb1+2uGhprKO5cXHTlwSkO7ffO7jIt2b5QX1joIZ+64f9qpbeeN 8ht/zFyzX/nLbLY5GPxMK/uM3i8lluKMREMt5qLiRAAF4zph3QEAAA== X-TM-AS-MML: No Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org The V4L2_CID_ISO_SENSITIVITY control values should be standard ISO values multiplied by 1000. Multiply all menu items by 1000 so ISO is properly reported as 50...3200 range. Cc: HeungJun, Kim Signed-off-by: Sylwester Nawrocki Signed-off-by: Kyungmin Park --- drivers/media/video/m5mols/m5mols_controls.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 1.7.10 -- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/drivers/media/video/m5mols/m5mols_controls.c b/drivers/media/video/m5mols/m5mols_controls.c index 54f597a..17dc280 100644 --- a/drivers/media/video/m5mols/m5mols_controls.c +++ b/drivers/media/video/m5mols/m5mols_controls.c @@ -547,9 +547,8 @@ static const struct v4l2_ctrl_ops m5mols_ctrl_ops = { /* Supported manual ISO values */ static const s64 iso_qmenu[] = { - /* AE_ISO: 0x01...0x07 */ - 50, 100, 200, 400, 800, 1600, 3200 + /* AE_ISO: 0x01...0x07 (ISO: 50...3200) */ + 50000, 100000, 200000, 400000, 800000, 1600000, 3200000 }; /* Supported Exposure Bias values, -2.0EV...+2.0EV */ --