diff options
author | Andreas Regel <andreas.regel@gmx.de> | 2010-01-05 17:21:30 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-02-26 13:10:36 -0500 |
commit | c369b7c2820dcad91b1354362097f6d8f9cf9307 (patch) | |
tree | 74df17afdbc5553572262dbe0229bb40c6726ff0 /drivers/media/dvb/frontends | |
parent | 729cbafaca5e24b4fa0b42e7b0f79cb53f2ebad5 (diff) |
V4L/DVB (13978): [STV090x] set FE_HAS_SIGNAL flag in stv090x_read_status when locked.
Signed-off-by: Andreas Regel <andreas.regel@gmx.de>
Signed-off-by: Manu Abraham <manu@linuxtv.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/frontends')
-rw-r--r-- | drivers/media/dvb/frontends/stv090x.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c index 3bdbce21de9e..2a25dd15b7fd 100644 --- a/drivers/media/dvb/frontends/stv090x.c +++ b/drivers/media/dvb/frontends/stv090x.c | |||
@@ -3446,7 +3446,8 @@ static int stv090x_read_status(struct dvb_frontend *fe, enum fe_status *status) | |||
3446 | if (STV090x_GETFIELD_Px(reg, PKTDELIN_LOCK_FIELD)) { | 3446 | if (STV090x_GETFIELD_Px(reg, PKTDELIN_LOCK_FIELD)) { |
3447 | reg = STV090x_READ_DEMOD(state, TSSTATUS); | 3447 | reg = STV090x_READ_DEMOD(state, TSSTATUS); |
3448 | if (STV090x_GETFIELD_Px(reg, TSFIFO_LINEOK_FIELD)) { | 3448 | if (STV090x_GETFIELD_Px(reg, TSFIFO_LINEOK_FIELD)) { |
3449 | *status = FE_HAS_CARRIER | | 3449 | *status = FE_HAS_SIGNAL | |
3450 | FE_HAS_CARRIER | | ||
3450 | FE_HAS_VITERBI | | 3451 | FE_HAS_VITERBI | |
3451 | FE_HAS_SYNC | | 3452 | FE_HAS_SYNC | |
3452 | FE_HAS_LOCK; | 3453 | FE_HAS_LOCK; |
@@ -3463,7 +3464,11 @@ static int stv090x_read_status(struct dvb_frontend *fe, enum fe_status *status) | |||
3463 | if (STV090x_GETFIELD_Px(reg, LOCKEDVIT_FIELD)) { | 3464 | if (STV090x_GETFIELD_Px(reg, LOCKEDVIT_FIELD)) { |
3464 | reg = STV090x_READ_DEMOD(state, TSSTATUS); | 3465 | reg = STV090x_READ_DEMOD(state, TSSTATUS); |
3465 | if (STV090x_GETFIELD_Px(reg, TSFIFO_LINEOK_FIELD)) { | 3466 | if (STV090x_GETFIELD_Px(reg, TSFIFO_LINEOK_FIELD)) { |
3466 | *status = FE_HAS_CARRIER | FE_HAS_VITERBI | FE_HAS_SYNC | FE_HAS_LOCK; | 3467 | *status = FE_HAS_SIGNAL | |
3468 | FE_HAS_CARRIER | | ||
3469 | FE_HAS_VITERBI | | ||
3470 | FE_HAS_SYNC | | ||
3471 | FE_HAS_LOCK; | ||
3467 | } | 3472 | } |
3468 | } | 3473 | } |
3469 | } | 3474 | } |