From patchwork Sat Aug 28 20:50:25 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Malcolm Priestley X-Patchwork-Id: 140341 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id o7SKoh6F032196 for ; Sat, 28 Aug 2010 20:50:43 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752335Ab0H1Uum (ORCPT ); Sat, 28 Aug 2010 16:50:42 -0400 Received: from mail-ww0-f44.google.com ([74.125.82.44]:50193 "EHLO mail-ww0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752119Ab0H1Uul (ORCPT ); Sat, 28 Aug 2010 16:50:41 -0400 Received: by wwb28 with SMTP id 28so5347253wwb.1 for ; Sat, 28 Aug 2010 13:50:40 -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=wN6vpsW03GnkQfQTeubwWco9t9ZIXEfFXOUw44S9/TM=; b=cRgw7vGzUXd+7DLTzjMQbJ36oGZx4pPQfhjU5Dxf4MEzbBVGJBR0DJZKq7KL126siq fN1gQ1W21SKnmii0SeLAQIJXdo0pJhw20owQHlESfw3QLhYvUciweGWssO+XK9eN+in6 t43HJZ7nv5375cTUJ3+NBdlLcmOgTd55XguWc= 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=AP3/ZW6wByMBLkfUsbqcNjQHW9ncpxZZQUpx2kuOixoZUVVfVOx1QnusdMlozwz+P3 9t/AvJzUlE464k8stalCd0GUDLKKVddqdRLepRX2MdhH0ez9sdXY2zJg54mm/ptFMwq5 +ex+j8nkNo90pYMCGV+rY5eyJ4PISd7LZ5Sxg= Received: by 10.216.179.20 with SMTP id g20mr2774048wem.45.1283028640534; Sat, 28 Aug 2010 13:50:40 -0700 (PDT) Received: from [192.168.1.100] (94.196.206.84.threembb.co.uk [94.196.206.84]) by mx.google.com with ESMTPS id u32sm3391188weq.11.2010.08.28.13.50.38 (version=SSLv3 cipher=RC4-MD5); Sat, 28 Aug 2010 13:50:39 -0700 (PDT) Subject: [PATCH]STV0288 Incorrect bit sample for Vitterbi status. From: tvbox To: linux-media@vger.kernel.org Date: Sat, 28 Aug 2010 21:50:25 +0100 Message-ID: <1283028625.2708.6.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 (demeter1.kernel.org [140.211.167.41]); Sat, 28 Aug 2010 20:50:43 +0000 (UTC) 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;