atv_demod: Tuner crashes easily when fast finetune [1/1]

PD#SWPL-4421

Problem:
Tuner crashes easily when fast fine tune

Solution:
Delay afc work to prevent tuner crash

Verify:
verified by x301

Change-Id: I011f7c3f71a30f95a9b7aa371d5fabe71f249051
Signed-off-by: nengwen.chen <nengwen.chen@amlogic.com>
This commit is contained in:
nengwen.chen
2019-02-25 10:26:58 +08:00
committed by Luke Go
parent 1e94a666b4
commit c8438a3a79

View File

@@ -264,6 +264,7 @@ static void atv_demod_afc_enable(struct atv_demod_afc *afc)
afc->offset = 0;
afc->no_sig_cnt = 0;
afc->pre_step = 0;
afc->timer_delay_cnt = 20;
afc->status = AFC_LOCK_STATUS_NULL;
add_timer(&afc->timer);
afc->state = true;