summaryrefslogtreecommitdiff
path: root/drivers/media
diff options
context:
space:
mode:
authorLiu Ying <Ying.Liu@freescale.com>2012-07-04 17:32:13 +0800
committerTerry Lv <r65388@freescale.com>2012-07-25 13:10:27 +0800
commitc228501542e50e70b8844b5f09c278c1996e1214 (patch)
tree1fedb9754e67bca2fdc3dfca04d2b22ca867a149 /drivers/media
parent6cf00108de4e6c354e82bc30ae7452684d2ba8ee (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> (cherry picked from commit f3e5d9944e989e66167cbbaa4f3433d8a9baf84d)
Diffstat (limited to 'drivers/media')
-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[] = {