Skip to content

Commit

Permalink
[media] stv0900: Update status when LOCK is missed
Browse files Browse the repository at this point in the history
Signed-off-by: Abylay Ospan <aospan@netup.ru>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
  • Loading branch information
Abylay Ospan authored and Mauro Carvalho Chehab committed Mar 21, 2011
1 parent 38cdbce commit 3b30e0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drivers/media/dvb/frontends/stv0900_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 3b30e0a

Please sign in to comment.