提交 b4622c14 编写于 作者: M Mauro Carvalho Chehab

V4L/DVB (13848): smsdvb: Add the proper status for IsRfLocked

Now, if RF is locked but demod is not locked, it will report:
>>> tuning status == 0x03

This happens, for example, if the device is on DVB-T, and the video
standard is ISDB-T.
Signed-off-by: NMauro Carvalho Chehab <mchehab@redhat.com>
上级 25f9461a
...@@ -380,9 +380,9 @@ static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb) ...@@ -380,9 +380,9 @@ static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb)
DVB3_EVENT_UNC_ERR); DVB3_EVENT_UNC_ERR);
} else { } else {
/*client->fe_status = if (client->sms_stat_dvb.ReceptionData.IsRfLocked)
(phdr->msgType == MSG_SMS_NO_SIGNAL_IND) ? client->fe_status = FE_HAS_SIGNAL | FE_HAS_CARRIER;
0 : FE_HAS_SIGNAL;*/ else
client->fe_status = 0; client->fe_status = 0;
sms_board_dvb3_event(client, DVB3_EVENT_FE_UNLOCK); sms_board_dvb3_event(client, DVB3_EVENT_FE_UNLOCK);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册