summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPrayas Mohanty <pmohanty@nvidia.com>2011-10-31 13:18:06 +0530
committerSimone Willett <swillett@nvidia.com>2011-10-31 15:58:42 -0700
commitbb84bdbfc8c16675b8bf7986ead9a410a00f1679 (patch)
tree30db8fcbb1fd97b45b895a3fb5ed3d3a8bd4c66d
parent9ba5f1f22d73fe62d0f509fd6cad26f34e25a017 (diff)
media: video: tegra: ar0832: tune 800x600 sensor registers
Modify READ_MODE for 800x600 sensor mode of sensor id AR0832_SENSOR_ID_8140. This fixes the incorrect colors during camera preview when the sensor of if AR0832_SENSOR_ID_8140 is used. bug 873857 Change-Id: Iaa999b078bf4c342a3ac7e60d59a128160c15568 Reviewed-on: http://git-master/r/61101 Reviewed-by: Prayas Mohanty <pmohanty@nvidia.com> Tested-by: Prayas Mohanty <pmohanty@nvidia.com> Reviewed-by: Shantanu Nath <snath@nvidia.com> Reviewed-by: Varun Wadekar <vwadekar@nvidia.com>
-rw-r--r--drivers/media/video/tegra/ar0832_main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/tegra/ar0832_main.c b/drivers/media/video/tegra/ar0832_main.c
index 97cb987e93d0..89fba695f54e 100644
--- a/drivers/media/video/tegra/ar0832_main.c
+++ b/drivers/media/video/tegra/ar0832_main.c
@@ -1296,7 +1296,7 @@ static struct ar0832_reg mode_800X600_8140[] = {
{0x034A, 0x05FB},
{0x034C, 0x0320},
{0x034E, 0x0258},
- {0x3040, 0x0041},
+ {0x3040, 0xC041},
{0x306E, 0xFC80},
{0x3178, 0x0000},