dtv_demod: "No signal" is seen when video is playing [1/1]

PD#SWPL-3019

Problem:
Unplug the DTV signal, then do AC off then on, enter DTV source, plug the DTV signal, then change channel, the current channel will display abnormally, the video will display with "no signal" together

Solution:
sync the signal status(using read sts interface) with tuning result

Verify:
verified by T962-P321-DDR4

Change-Id: I3ba01dc976c40391f3f305a3754632d2cccfd571
Signed-off-by: Zhiwei Yuan <zhiwei.yuan@amlogic.com>
This commit is contained in:
Zhiwei Yuan
2018-12-12 20:48:20 +08:00
committed by Jianxin Pan
parent fcb2484182
commit f3b2df252c

View File

@@ -2754,13 +2754,11 @@ static int gxtv_demod_dtmb_tune(struct dvb_frontend *fe, bool re_tune,
*delay = HZ / 4;
gxtv_demod_dtmb_read_status_old(fe, status);
if (is_ic_ver(IC_VER_TL1)) {
if (*status == (FE_HAS_LOCK | FE_HAS_SIGNAL | FE_HAS_CARRIER |
FE_HAS_VITERBI | FE_HAS_SYNC))
dtmb_poll_start_tune(DTMBM_HV_SIGNEL_CHECK);
else
dtmb_poll_start_tune(DTMBM_NO_SIGNEL_CHECK);
}
if (*status == (FE_HAS_LOCK | FE_HAS_SIGNAL | FE_HAS_CARRIER |
FE_HAS_VITERBI | FE_HAS_SYNC))
dtmb_poll_start_tune(DTMBM_HV_SIGNEL_CHECK);
else
dtmb_poll_start_tune(DTMBM_NO_SIGNEL_CHECK);
#else /*try polling*/