[media] stv0900: Update status when LOCK is missed
Signed-off-by: Abylay Ospan <aospan@netup.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
Родитель
38cdbce763
Коммит
3b30e0a871
|
@ -1666,6 +1666,7 @@ static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status)
|
|||
if (state->config->set_lock_led)
|
||||
state->config->set_lock_led(fe, 1);
|
||||
} else {
|
||||
*status = 0;
|
||||
if (state->config->set_lock_led)
|
||||
state->config->set_lock_led(fe, 0);
|
||||
dprintk("DEMOD LOCK FAIL\n");
|
||||
|
|
Загрузка…
Ссылка в новой задаче