]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commitdiff
media: video: tegra: change IMX132 readout orientation
authorFrank Chen <frankc@nvidia.com>
Wed, 13 Feb 2013 23:50:15 +0000 (15:50 -0800)
committerDan Willemsen <dwillemsen@nvidia.com>
Sat, 14 Sep 2013 20:15:45 +0000 (13:15 -0700)
Rotate IMX132 frame 180 degree to match sensor
orientation.

Bug 1294324

Change-Id: I25a80cafaa21452212f48bcf1760d4e184943e4f
Signed-off-by: Frank Chen <frankc@nvidia.com>
Reviewed-on: http://git-master/r/232748
GVS: Gerrit_Virtual_Submit
Reviewed-by: Gary Fitzer <gfitzer@nvidia.com>
Reviewed-by: Philip Breczinski <pbreczinski@nvidia.com>
Reviewed-by: Bharat Nihalani <bnihalani@nvidia.com>
drivers/media/video/tegra/imx132.c

index 3bb0a3563b6191ce03619d5878d4d0798ff1a869..3cd4c3c7043be9cf4e3455297b83b46f7deb3833 100644 (file)
@@ -69,6 +69,7 @@ static struct regulator *imx132_ext_reg2;
 static struct imx132_reg mode_1920x1080[] = {
        /* Stand by */
        {0x0100, 0x00},
+       {0x0101, 0x03},
        {IMX132_TABLE_WAIT_MS, IMX132_WAIT_MS},
 
        /* global settings */
@@ -179,6 +180,7 @@ static struct imx132_reg mode_1920x1080[] = {
 static struct imx132_reg mode_1976x1200[] = {
        /* Stand by */
        {0x0100, 0x00},
+       {0x0101, 0x03},
        {IMX132_TABLE_WAIT_MS, IMX132_WAIT_MS},
 
        /* global settings */