atv_demod: switch channel with the script, the ATV shows no signal [1/1]

PD#SWPL-791

Problem:
Switch channel with the script lasts 14 hours, the ATV shows no signal.

Solution:
To avoid conflict, don't need to check the CLK
and PLL states in atv demod write and read function.

Verify:
verified by p321

Change-Id: I033c54f14541ed540dfce1b9c4e21d2b5a8b9487
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>

Conflicts:
	drivers/amlogic/atv_demod/atv_demod_ops.c
This commit is contained in:
nengwen.chen
2018-10-29 11:30:34 +08:00
committed by Dongjin Kim
parent 041b4d5d79
commit 298aa2d9dd

View File

@@ -390,10 +390,8 @@ static int atv_demod_set_config(struct dvb_frontend *fe, void *priv_cfg)
case AML_ATVDEMOD_RESUME:
if (priv->state == ATVDEMOD_STATE_SLEEP) {
if (!atv_demod_enter_mode(fe)) {
if (!atv_demod_enter_mode(fe))
priv->state = ATVDEMOD_STATE_WORK;
priv->standby = false;
}
}
break;