The patch number 8096 was added via Michael Krufky <[EMAIL PROTECTED]>
to http://linuxtv.org/hg/v4l-dvb master development tree.

Kernel patches in this development tree may be modified to be backward
compatible with older kernels. Compatibility modifications will be
removed before inclusion into the mainstream Kernel

If anyone has any objections, please let us know by sending a message to:
        [EMAIL PROTECTED]

------

From: Steven Toth  <[EMAIL PROTECTED]>
au8522: prevent false-positive lock status


This decreases scan time in Queens, New York from 28 minutes to 7 minutes,
with the exact same services found.

Signed-off-by: Michael Krufky <[EMAIL PROTECTED]>


---

 linux/drivers/media/dvb/frontends/au8522.c |    6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff -r 4012ea1a6a06 -r eeeaefde1a01 linux/drivers/media/dvb/frontends/au8522.c
--- a/linux/drivers/media/dvb/frontends/au8522.c        Fri Jun 13 23:58:08 
2008 -0400
+++ b/linux/drivers/media/dvb/frontends/au8522.c        Sat Jun 21 15:32:41 
2008 -0400
@@ -526,10 +526,8 @@ static int au8522_read_status(struct dvb
        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);


---

Patch is available at: 
http://linuxtv.org/hg/v4l-dvb/rev/eeeaefde1a0103f065b12c63ac435891d1f6d01f

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to