提交 3b30e0a8 编写于 作者: A Abylay Ospan 提交者: Mauro Carvalho Chehab

[media] stv0900: Update status when LOCK is missed

Signed-off-by: NAbylay Ospan <aospan@netup.ru>
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 38cdbce7
...@@ -1666,6 +1666,7 @@ static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status) ...@@ -1666,6 +1666,7 @@ static int stv0900_read_status(struct dvb_frontend *fe, enum fe_status *status)
if (state->config->set_lock_led) if (state->config->set_lock_led)
state->config->set_lock_led(fe, 1); state->config->set_lock_led(fe, 1);
} else { } else {
*status = 0;
if (state->config->set_lock_led) if (state->config->set_lock_led)
state->config->set_lock_led(fe, 0); state->config->set_lock_led(fe, 0);
dprintk("DEMOD LOCK FAIL\n"); dprintk("DEMOD LOCK FAIL\n");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册