summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2014-07-11 10:50:26 +0800
committerSandor Yu <R01008@freescale.com>2014-07-15 16:35:59 +0800
commitac9fbf1193261ec292ab82cd6c10a186a385c865 (patch)
tree4f350f04dd5aff2933f96206e3bbe5a61eecf28f
parent7a54f8b82299825d14bea563bf2baa823a22646f (diff)
ENGR00321142 gis: faster auto standards detection
Vadc need time to auto standards detection, the default standard is NTSC, if vadc connect to PAL camera and no enough time to detect the video mode, driver will get NTSC mode. Confirmation from chip design architecture auto detect function is not required by rear-view camera application. Setting register vdec_stddbg standard_filte bits to 0 makes the standard detection faster, the issue duplicate decrease to 1%. Signed-off-by: Sandor Yu <R01008@freescale.com>
-rw-r--r--drivers/media/platform/mxc/capture/mxc_vadc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/mxc/capture/mxc_vadc.c b/drivers/media/platform/mxc/capture/mxc_vadc.c
index 1999be468a3a..648e4115cfea 100644
--- a/drivers/media/platform/mxc/capture/mxc_vadc.c
+++ b/drivers/media/platform/mxc/capture/mxc_vadc.c
@@ -271,7 +271,7 @@ static void vdec_init(struct vadc_data *vadc)
/* filter the standard detection
* enable the comb for the ntsc443 */
- reg32_write(VDEC_STDDBG, 0x23);
+ reg32_write(VDEC_STDDBG, 0x20);
/* setup chroma kill thresh for no chroma */
reg32_write(VDEC_CHBTH, 0x0);