[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:
parent
38cdbce763
commit
3b30e0a871
1 changed files with 1 additions and 0 deletions
|
@ -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");
|
||||
|
|
Loading…
Reference in a new issue