From patchwork Mon Aug 23 19:24:24 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 125071 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o7NJVdXW030467 for ; Mon, 23 Aug 2010 19:31:39 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753026Ab0HWTbi (ORCPT ); Mon, 23 Aug 2010 15:31:38 -0400 Received: from mail-wy0-f174.google.com ([74.125.82.174]:39317 "EHLO mail-wy0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752509Ab0HWTbh (ORCPT ); Mon, 23 Aug 2010 15:31:37 -0400 Received: by wyb32 with SMTP id 32so7158864wyb.19 for ; Mon, 23 Aug 2010 12:31:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:subject:from:to:content-type :date:message-id:mime-version:x-mailer:content-transfer-encoding; bh=M+EU5PStH2cIprmbfWawLYOf2cBwTuwToe0j0+emp5I=; b=uJZXbbycjqYvHsS2VgfEGgaK+f4/K1drjhMH1TLtIspfwq4If8T/6lOJiLgHENwEQL vaZpKPKMkWLA9DQ706SZfMdj86hYYDlbCgF/dVWFYWm8wOYh4iVtfaBp8C+Wdf8vbjbo PvLMIMY3yKKzxKaFU/5MrHg+w7oOZBrLNgu1M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=subject:from:to:content-type:date:message-id:mime-version:x-mailer :content-transfer-encoding; b=rXEBDVBrYL9D09G5pY5J1r0mL7gMBLTNFbRXtOSWvLdz8Y8RamwIicmLNNE+80fRUG RRnvzY0bXaYZaW/Qat4VvsBlBhuBa5iYZmCt0X4sMn85b9mpj/zrbPKOV64UIgY7Nv93 8/7MGnWxONJIEYVrwg6yDAp4tiuS7oPlyg8Bs= Received: by 10.216.185.4 with SMTP id t4mr4956609wem.87.1282591476364; Mon, 23 Aug 2010 12:24:36 -0700 (PDT) Received: from [192.168.1.100] (94.196.129.36.threembb.co.uk [94.196.129.36]) by mx.google.com with ESMTPS id v44sm3909125weq.28.2010.08.23.12.24.34 (version=SSLv3 cipher=RC4-MD5); Mon, 23 Aug 2010 12:24:35 -0700 (PDT) Subject: [PATCH]STV0288 Incorrect bit sample for Vitterbi status. From: tvbox To: linux-media@vger.kernel.org Date: Mon, 23 Aug 2010 20:24:24 +0100 Message-ID: <1282591464.3596.21.camel@canaries-desktop> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Mon, 23 Aug 2010 19:31:39 +0000 (UTC) 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;