Linux Media Controller development
 help / color / mirror / Atom feed
* [PATCH]STV0288 Incorrect bit sample for Vitterbi status.
@ 2010-08-23 19:24 tvbox
  0 siblings, 0 replies; 3+ messages in thread
From: tvbox @ 2010-08-23 19:24 UTC (permalink / raw)
  To: linux-media

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>

diff --git a/drivers/media/dvb/frontends/stv0288.c
b/drivers/media/dvb/frontends
index 2930a5d..bc9b47e 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,
        tda[2] = 0x0; /* CFRL */
        for (tm = -6; tm < 7;) {
                /* Viterbi status */
-               if (stv0288_readreg(state, 0x24) & 0x80)
+               if (stv0288_readreg(state, 0x24) & 0x8)
                        break;
 
                tda[2] += 40;



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH]STV0288 Incorrect bit sample for Vitterbi status.
@ 2010-08-28 20:50 tvbox
  0 siblings, 0 replies; 3+ messages in thread
From: tvbox @ 2010-08-28 20:50 UTC (permalink / raw)
  To: linux-media

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>



diff --git a/linux/drivers/media/dvb/frontends/stv0288.c b/linux/drivers/media/dvb/frontends/stv0288.c
index 2930a5d..bc9b47e 100644
--- a/linux/drivers/media/dvb/frontends/stv0288.c
+++ b/linux/drivers/media/dvb/frontends/stv0288.c
@@ -486,7 +486,7 @@ static int stv0288_set_frontend(struct dvb_frontend *fe,
 	tda[2] = 0x0; /* CFRL */
 	for (tm = -6; tm < 7;) {
 		/* Viterbi status */
-		if (stv0288_readreg(state, 0x24) & 0x80)
+		if (stv0288_readreg(state, 0x24) & 0x8)
 			break;
 
 		tda[2] += 40;


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [PATCH]STV0288 Incorrect bit sample for Vitterbi status.
@ 2010-08-28 21:18 tvbox
  0 siblings, 0 replies; 3+ messages in thread
From: tvbox @ 2010-08-28 21:18 UTC (permalink / raw)
  To: linux-media

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>



diff --git a/drivers/media/dvb/frontends/stv0288.c b/drivers/media/dvb/frontends/stv0288.c
index 2930a5d..bc9b47e 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,
 	tda[2] = 0x0; /* CFRL */
 	for (tm = -6; tm < 7;) {
 		/* Viterbi status */
-		if (stv0288_readreg(state, 0x24) & 0x80)
+		if (stv0288_readreg(state, 0x24) & 0x8)
 			break;
 
 		tda[2] += 40;


^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-08-28 21:19 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-23 19:24 [PATCH]STV0288 Incorrect bit sample for Vitterbi status tvbox
  -- strict thread matches above, loose matches on Subject: below --
2010-08-28 20:50 tvbox
2010-08-28 21:18 tvbox

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox