aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSandor Yu <R01008@freescale.com>2014-07-10 22:50:26 -0400
committerSandor Yu <R01008@freescale.com>2014-07-15 04:35:59 -0400
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)
271 271
272 /* filter the standard detection 272 /* filter the standard detection
273 * enable the comb for the ntsc443 */ 273 * enable the comb for the ntsc443 */
274 reg32_write(VDEC_STDDBG, 0x23); 274 reg32_write(VDEC_STDDBG, 0x20);
275 275
276 /* setup chroma kill thresh for no chroma */ 276 /* setup chroma kill thresh for no chroma */
277 reg32_write(VDEC_CHBTH, 0x0); 277 reg32_write(VDEC_CHBTH, 0x0);