aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMalcolm Priestley <tvboxspy@gmail.com>2010-08-28 17:18:45 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-20 23:04:58 -0400
commitbe96624a38e6de619603b5741a39e715eb44227c (patch)
tree0dbb4607cfa7a18496afde76654d634bc9e4ba4f /drivers/media
parentd2f918bba7a482bee18cc0ede7791f7d846dd5d0 (diff)
V4L/DVB: STV0288 Incorrect bit sample for Vitterbi status
bit 3(LK) indicates that the Vstatus is locked. Currently using bit 7(CF) which is usually present, results in early aborted search in FEC_AUTO and missing channels. Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com> Cc: Igor M. Liplianin <liplianin@me.by> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/frontends/stv0288.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/frontends/stv0288.c b/drivers/media/dvb/frontends/stv0288.c
index 743989dbb18..89e8db6ed84 100644
--- a/drivers/media/dvb/frontends/stv0288.c
+++ b/drivers/media/dvb/frontends/stv0288.c
@@ -486,7 +486,7 @@ static int stv0288_set_frontend(struct dvb_frontend *fe,
486 tda[2] = 0x0; /* CFRL */ 486 tda[2] = 0x0; /* CFRL */
487 for (tm = -6; tm < 7;) { 487 for (tm = -6; tm < 7;) {
488 /* Viterbi status */ 488 /* Viterbi status */
489 if (stv0288_readreg(state, 0x24) & 0x80) 489 if (stv0288_readreg(state, 0x24) & 0x8)
490 break; 490 break;
491 491
492 tda[2] += 40; 492 tda[2] += 40;