From e68c8fde627b617543aeb869676735bd9d5fce81 Mon Sep 17 00:00:00 2001 From: "zhiwei.yuan" Date: Wed, 7 Aug 2019 15:45:40 +0800 Subject: [PATCH] dtv_demod: C/N and three-path performane isn't up to std [1/1] PD#SWPL-12431 Problem: fec lost lock is too slower Solution: delay fec lock & make fec lost faster Verify: verified by t962x2_x301 Change-Id: I00de0a0c764f2fa598a867297acc0d90beddf188 Signed-off-by: zhiwei.yuan --- drivers/amlogic/media/dtv_demod/dtmb_func.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/drivers/amlogic/media/dtv_demod/dtmb_func.c b/drivers/amlogic/media/dtv_demod/dtmb_func.c index 0dae732..64562de 100644 --- a/drivers/amlogic/media/dtv_demod/dtmb_func.c +++ b/drivers/amlogic/media/dtv_demod/dtmb_func.c @@ -153,8 +153,13 @@ void dtmb_all_reset(void) /*for timeshift mosaic issue*/ dtmb_write_reg(0x4e << 2, 0x256cf604); - /*delay fec lock to prevent eq is confused by signal*/ - dtmb_write_reg(DTMB_FRONT_DEBUG_CFG, 0x5680000); + + /*delay fec lock & make fec lost faster + *to prevent eq is confused by signal + */ + dtmb_write_reg(DTMB_FRONT_DEBUG_CFG, 0x5480000); + /*reduce fec lost timeout*/ + dtmb_write_reg(DTMB_FRONT_19_CONFIG, 0x30); } else { dtmb_write_reg(DTMB_FRONT_AGC_CONFIG1, 0x10127); dtmb_write_reg(DTMB_CHE_IBDFE_CONFIG6, 0x943228cc); -- 2.7.4