From f633ff9037db7842c08fcfc7227113f6f762f6b8 Mon Sep 17 00:00:00 2001 From: Charlie Huang Date: Fri, 22 Jul 2011 16:33:33 -0700 Subject: media: video: tegra: disable ov2710 AWB set manual white balance otherwise it will conflict with isp bug 829281 Change-Id: Id89ae1dd7e607beb35b43db5991742d3b8dcc345 Reviewed-on: http://git-master/r/42709 Reviewed-by: Chonglei Huang Reviewed-by: Andrei Denissov Reviewed-by: Daniel Willemsen Reviewed-by: Gary Zhang Reviewed-by: Frank Chen Tested-by: Chonglei Huang --- drivers/media/video/tegra/ov2710.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/video/tegra/ov2710.c b/drivers/media/video/tegra/ov2710.c index ec507c62b996..90c2bb4b3189 100644 --- a/drivers/media/video/tegra/ov2710.c +++ b/drivers/media/video/tegra/ov2710.c @@ -165,6 +165,7 @@ static struct ov2710_reg mode_1920x1080[] = { {0x350c, 0xff}, /* peak VTS reg, set to highest limit */ {0x350d, 0xff}, /* peak VTS reg, set to highest limit */ + {0x3406, 0x01}, /* AWB manual, 0-auto, 1-manual */ {0x3503, 0x07}, /* enable manual gain and manual exposure */ {0x3500, 0x00}, /* write default to AEC PK EXPO */ {0x3501, 0x00}, /* write default to AEC PK EXPO */ @@ -282,6 +283,7 @@ static struct ov2710_reg mode_1280x720[] = { {0x350c, 0xff}, /* peak VTS reg, set to highest limit */ {0x350d, 0xff}, /* peak VTS reg, set to highest limit */ + {0x3406, 0x01}, /* AWB manual, 0-auto, 1-manual */ {0x3503, 0x07}, /* enable manual gain and manual exposure */ {0x3500, 0x00}, /* write default to AEC PK EXPO */ {0x3501, 0x00}, /* write default to AEC PK EXPO */ -- cgit v1.2.3