]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
tegra: imx214: Enable embedded metadata feature
authorAnkit Gupta <ankitgu@nvidia.com>
Wed, 22 Jul 2015 09:08:16 +0000 (14:38 +0530)
committermobile promotions <svcmobile_promotions@nvidia.com>
Thu, 27 Aug 2015 11:25:31 +0000 (04:25 -0700)
This change enables the embedded metadata register
in the imx214 sensor driver.

Bug 1547007

Change-Id: I71e5f1de4fe15ee77f8470d72293da9f43e4434a
Signed-off-by: Ankit Gupta <ankitgu@nvidia.com>
Reviewed-on: http://git-master/r/773388
(cherry picked from commit 590e1f8b22cba77194d4cb2d4ae70a53a3e9c3b4)
Reviewed-on: http://git-master/r/788051
Reviewed-by: Automatic_Commit_Validation_User
Reviewed-by: Anubhav Rai <arai@nvidia.com>
Tested-by: Anubhav Rai <arai@nvidia.com>
Reviewed-by: Shridhar Rasal <srasal@nvidia.com>
drivers/media/i2c/soc_camera/imx214_mode_tbls.h
drivers/media/platform/tegra/imx214_mode_tbls.h

index abf537526034b010412b3b342e2e5142797badfd..d5bcc18a731d4817440a61e84eb1c9373c4e3ed8 100644 (file)
@@ -1344,7 +1344,7 @@ static imx214_reg mode_table_common[] = {
        {0xA80B, 0x83},
        {0xAE33, 0x00},
 
-  /* analog setting */
+       /* analog setting */
        {0x4174, 0x00},
        {0x4175, 0x11},
        {0x4612, 0x29},
@@ -1368,7 +1368,9 @@ static imx214_reg mode_table_common[] = {
        {0x4A73, 0x62},
        {0x4A85, 0x00},
        {0x4A87, 0xFF},
-       {0x5041, 0x00},
+
+       /* embedded data */
+       {0x5041, 0x04},
        {0x583C, 0x04},
        {0x620E, 0x04},
        {0x6EB2, 0x01},
index 21313b6780f51f0bc5784088f09e0154eccd5f5a..ade6e36ad7fa85d2995ca0cee3b5421831759538 100644 (file)
@@ -1391,7 +1391,9 @@ static struct imx214_reg mode_table_common[] = {
        {0x4A73, 0x62},
        {0x4A85, 0x00},
        {0x4A87, 0xFF},
-       {0x5041, 0x00},
+
+       /* embedded data */
+       {0x5041, 0x04},
        {0x583C, 0x04},
        {0x620E, 0x04},
        {0x6EB2, 0x01},