FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Ubuntu > Ubuntu Kernel Team

 
 
LinkBack Thread Tools
 
Old 06-23-2008, 05:49 PM
Tim Gardner
 
Default UBUNTU: prevent false-positive lock status OriginalAuthor: Steven Toth OriginalLocation: http://launchpadlibrarian.net/15499324/au8522-prevent-false-positive-lock-status Bug: #241981

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 <mkrufky@linuxtv.org>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>
---
ubuntu/media/au0828/au8522.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/ubuntu/media/au0828/au8522.c b/ubuntu/media/au0828/au8522.c
index 6d80ca2..37f6260 100644
--- a/ubuntu/media/au0828/au8522.c
+++ b/ubuntu/media/au0828/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
", __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
", __func__);
reg = au8522_readreg(state, 0x4541);
--
1.5.4.3


--------------010401020709070406090203
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team

--------------010401020709070406090203--
 

Thread Tools




All times are GMT. The time now is 05:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org