]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
media: platform: tegra: Update Ov7695 gain setting
authorFrank Chen <frankc@nvidia.com>
Tue, 3 Mar 2015 20:34:44 +0000 (12:34 -0800)
committerJihoon Bang <jbang@nvidia.com>
Thu, 7 May 2015 00:17:24 +0000 (17:17 -0700)
Change max digital gain from 3x to 1.5x to reduce
noises

Bug 1557945

Change-Id: I83670a4dd5ee5e67d1c4f21a50c89c3033430f9c
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/713446
(cherry picked from commit 072ce00629420820398d191027472ab402494522)
Reviewed-on: http://git-master/r/729186
(cherry picked from commit 5eaf4ce51f9a87281fecae64fc49753966674c23)
Reviewed-on: http://git-master/r/737437
Reviewed-by: David Schalig <dschalig@nvidia.com>
Reviewed-by: Igor Tryndin <itryndin@nvidia.com>
Reviewed-by: Jihoon Bang <jbang@nvidia.com>
drivers/media/platform/tegra/ov7695.c

index ef8d912335b34a7a68744842654214c01a96327b..4db47b5197e6027b06ca1fc2d7747027341e18fd 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2013-2014, NVIDIA CORPORATION.  All rights reserved.
+ * Copyright (c) 2013-2015, NVIDIA CORPORATION.  All rights reserved.
  *
  * This program is free software; you can redistribute it and/or modify it
  * under the terms and conditions of the GNU General Public License,
@@ -89,8 +89,8 @@ static struct reg_8 mode_640x480_30fps[] = {
        {0x3a1b, 0x3a},
        {0x3a1e, 0x2e},
        {0x3a1f, 0x18},
-       {0x3a18, 0x03},
-       {0x3a19, 0xe0},
+       {0x3a18, 0x01},
+       {0x3a19, 0x7f},
        {0x3503, 0x00},
        {0x3a05, 0x28},
        {0x3a00, 0x7c},