From: Liu Ying Date: Tue, 10 Jul 2012 04:00:17 +0000 (+0800) Subject: ENGR00216268 Ov5642 camera:Fix green line issue for 2 modes X-Git-Tag: v3.0.35-fsl_4.1.0~936 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=d626bc31cb38162aff683405d1df07dc3764ba94;p=karo-tx-linux.git ENGR00216268 Ov5642 camera:Fix green line issue for 2 modes This patch fix green line issue on captured frames for 720x480p@30 and 720x576p@30 modes by changing register 0x302c's bit[6:5] to 0'11 to enhance output driving capability to 4x. Signed-off-by: Liu Ying --- diff --git a/drivers/media/video/mxc/capture/ov5642.c b/drivers/media/video/mxc/capture/ov5642.c index 2488658623cf..31dc279b4a62 100644 --- a/drivers/media/video/mxc/capture/ov5642.c +++ b/drivers/media/video/mxc/capture/ov5642.c @@ -1699,6 +1699,7 @@ static struct reg_value ov5642_setting_30fps_NTSC_720_480[] = { {0x5013, 0x00, 0, 0}, {0x519e, 0x00, 0, 0}, {0x5086, 0x00, 0, 0}, {0x5087, 0x00, 0, 0}, {0x5088, 0x00, 0, 0}, {0x5089, 0x00, 0, 0}, {0x302b, 0x00, 0, 0}, {0x3621, 0x87, 0, 0}, {0x3a00, 0x78, 0, 0}, + {0x302c, 0x60, 0x60, 0}, }; static struct reg_value ov5642_setting_30fps_PAL_720_576[] = { @@ -1868,6 +1869,7 @@ static struct reg_value ov5642_setting_30fps_PAL_720_576[] = { {0x5013, 0x00, 0, 0}, {0x519e, 0x00, 0, 0}, {0x5086, 0x00, 0, 0}, {0x5087, 0x00, 0, 0}, {0x5088, 0x00, 0, 0}, {0x5089, 0x00, 0, 0}, {0x302b, 0x00, 0, 0}, {0x3621, 0x87, 0, 0}, {0x3a00, 0x78, 0, 0}, + {0x302c, 0x60, 0x60, 0}, }; static struct reg_value ov5642_setting_15fps_720P_1280_720[] = {