From 298aa2d9dd18f8fd25d1ac3e46205d4556e17f71 Mon Sep 17 00:00:00 2001 From: "nengwen.chen" Date: Mon, 29 Oct 2018 11:30:34 +0800 Subject: [PATCH] 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 Conflicts: drivers/amlogic/atv_demod/atv_demod_ops.c --- drivers/amlogic/atv_demod/atv_demod_ops.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/amlogic/atv_demod/atv_demod_ops.c b/drivers/amlogic/atv_demod/atv_demod_ops.c index baadebe19f72..bba68d7d9297 100644 --- a/drivers/amlogic/atv_demod/atv_demod_ops.c +++ b/drivers/amlogic/atv_demod/atv_demod_ops.c @@ -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;