summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-07-04 17:32:13 +0800
committerLiu Ying <Ying.Liu@freescale.com>2012-07-04 17:51:49 +0800
commitf3e5d9944e989e66167cbbaa4f3433d8a9baf84d (patch)
tree1984408025d271fa695a10faa994f5c5be5faf56
parent3572647b80497abc05f9b18aa33042a65641b611 (diff)
ENGR00215762 OV5642 camera:Improve XGA@30 image quality
This patch changes output drive capability of ov5642 camera register 0x302c's bit[6:5] to 0'11 to get 4x drive capability so that green lines cannot be seen in the captured frames. Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
-rw-r--r--drivers/media/video/mxc/capture/ov5642.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/mxc/capture/ov5642.c b/drivers/media/video/mxc/capture/ov5642.c
index d5920b8197ac..8d317fa5c940 100644
--- a/drivers/media/video/mxc/capture/ov5642.c
+++ b/drivers/media/video/mxc/capture/ov5642.c
@@ -1188,7 +1188,7 @@ static struct reg_value ov5642_setting_30fps_XGA_1024_768[] = {
{0x5087, 0x00, 0, 0}, {0x5088, 0x00, 0, 0}, {0x5089, 0x00, 0, 0},
{0x302b, 0x00, 0, 0}, {0x3621, 0x87, 0, 0}, {0x3a00, 0x78, 0, 0},
{0x3808, 0x04, 0, 0}, {0x3809, 0x00, 0, 0}, {0x380a, 0x03, 0, 0},
- {0x380b, 0x00, 0, 0}, {0x3815, 0x02, 0, 0},
+ {0x380b, 0x00, 0, 0}, {0x3815, 0x02, 0, 0}, {0x302c, 0x60, 0x60, 0},
};
static struct reg_value ov5642_setting_15fps_XGA_1024_768[] = {