diff options
author | Abylay Ospan <aospan@netup.ru> | 2011-02-14 14:03:13 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-21 19:32:40 -0400 |
commit | 3b30e0a871389eda9034084faec67d43478fb4c0 (patch) | |
tree | dd453999d57cc1a7191f3cd22229947d82381847 /drivers/media/dvb/frontends | |
parent | 38cdbce7634bdd914b6c6e673c2f6ebedca30d43 (diff) |
[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>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/stv0900_core.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/dvb/frontends/stv0900_core.c b/drivers/media/dvb/frontends/stv0900_core.c index 0d9b456d34fc..0ca316d6fffa 100644 --- a/drivers/media/dvb/frontends/stv0900_core.c +++ b/drivers/media/dvb/frontends/stv0900_core.c | |||
@@ -1666,6 +1666,7 @@ static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status) | |||
1666 | if (state->config->set_lock_led) | 1666 | if (state->config->set_lock_led) |
1667 | state->config->set_lock_led(fe, 1); | 1667 | state->config->set_lock_led(fe, 1); |
1668 | } else { | 1668 | } else { |
1669 | *status = 0; | ||
1669 | if (state->config->set_lock_led) | 1670 | if (state->config->set_lock_led) |
1670 | state->config->set_lock_led(fe, 0); | 1671 | state->config->set_lock_led(fe, 0); |
1671 | dprintk("DEMOD LOCK FAIL\n"); | 1672 | dprintk("DEMOD LOCK FAIL\n"); |