summaryrefslogtreecommitdiff
path: root/linux/drivers/media/dvb/frontends
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-06-22 07:33:44 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-06-22 07:33:44 -0300
commitb4f8fa702a67e27667e4d33d9e14a09f07fafa9e (patch)
tree6d52e1d0b1a04bb4c65ae150e5d1c8754ee15625 /linux/drivers/media/dvb/frontends
parentf9b7b865c800aad40f7e267b224e53ee626312df (diff)
parentdaef5289e1849aec1350f70ffa1c2f3735854620 (diff)
downloadmediapointer-dvb-s2-b4f8fa702a67e27667e4d33d9e14a09f07fafa9e.tar.gz
mediapointer-dvb-s2-b4f8fa702a67e27667e4d33d9e14a09f07fafa9e.tar.bz2
merge: http://linuxtv.org/hg/~mkrufky/hvr950q
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/dvb/frontends')
-rw-r--r--linux/drivers/media/dvb/frontends/au8522.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/linux/drivers/media/dvb/frontends/au8522.c b/linux/drivers/media/dvb/frontends/au8522.c
index 6d80ca2bd..37f6260e1 100644
--- a/linux/drivers/media/dvb/frontends/au8522.c
+++ b/linux/drivers/media/dvb/frontends/au8522.c
@@ -526,10 +526,8 @@ static int au8522_read_status(struct dvb_frontend *fe, fe_status_t *status)
if (state->current_modulation == VSB_8) {
dprintk("%s() Checking VSB_8\n", __func__);
reg = au8522_readreg(state, 0x4088);
- if (reg & 0x01)
- *status |= FE_HAS_VITERBI;
- if (reg & 0x02)
- *status |= FE_HAS_LOCK | FE_HAS_SYNC;
+ if ((reg & 0x03) == 0x03)
+ *status |= FE_HAS_LOCK | FE_HAS_SYNC | FE_HAS_VITERBI;
} else {
dprintk("%s() Checking QAM\n", __func__);
reg = au8522_readreg(state, 0x4541);