mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-17 09:14:19 +08:00
[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
@ -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 New Issue
Block a user