diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2009-12-25 16:04:17 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:10:26 -0500 |
commit | b4622c14a1450fa40dd89dc134ec008fd1c2d38c (patch) | |
tree | 450a9ccc1d7116982d9d78b5b640caea9e6f929a /drivers/media/dvb/siano/smsdvb.c | |
parent | 25f9461a03f5f5a577a626df3ae5bcf09542d96a (diff) |
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: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/siano/smsdvb.c')
-rw-r--r-- | drivers/media/dvb/siano/smsdvb.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/media/dvb/siano/smsdvb.c b/drivers/media/dvb/siano/smsdvb.c index 4784c8f21224..5f3939821ca3 100644 --- a/drivers/media/dvb/siano/smsdvb.c +++ b/drivers/media/dvb/siano/smsdvb.c | |||
@@ -380,10 +380,10 @@ static int smsdvb_onresponse(void *context, struct smscore_buffer_t *cb) | |||
380 | DVB3_EVENT_UNC_ERR); | 380 | DVB3_EVENT_UNC_ERR); |
381 | 381 | ||
382 | } else { | 382 | } else { |
383 | /*client->fe_status = | 383 | if (client->sms_stat_dvb.ReceptionData.IsRfLocked) |
384 | (phdr->msgType == MSG_SMS_NO_SIGNAL_IND) ? | 384 | client->fe_status = FE_HAS_SIGNAL | FE_HAS_CARRIER; |
385 | 0 : FE_HAS_SIGNAL;*/ | 385 | else |
386 | client->fe_status = 0; | 386 | client->fe_status = 0; |
387 | sms_board_dvb3_event(client, DVB3_EVENT_FE_UNLOCK); | 387 | sms_board_dvb3_event(client, DVB3_EVENT_FE_UNLOCK); |
388 | } | 388 | } |
389 | } | 389 | } |