diff options
author | Sandor Yu <R01008@freescale.com> | 2014-07-11 10:50:26 +0800 |
---|---|---|
committer | Nitin Garg <nitin.garg@freescale.com> | 2014-08-27 18:29:27 -0500 |
commit | c5ab131640b8d0d203d7c565222746a7b5acc9d1 (patch) | |
tree | b7d3202d14899bff6bcd2f9b61f8df6c8cbe334a | |
parent | 3460c1bc3a90e8f1b89ecc885e6a28cf8aae72e7 (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>
(cherry picked from commit ac9fbf1193261ec292ab82cd6c10a186a385c865)
-rw-r--r-- | drivers/media/platform/mxc/capture/mxc_vadc.c | 2 |
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); |