From patchwork Thu Jan 29 19:12:15 2009 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: "Igor M. Liplianin" X-Patchwork-Id: 4637 Received: from vger.kernel.org (vger.kernel.org [209.132.176.167]) by demeter.kernel.org (8.14.2/8.14.2) with ESMTP id n0TJCUYp025673 for ; Thu, 29 Jan 2009 19:12:30 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751358AbZA2TMa (ORCPT ); Thu, 29 Jan 2009 14:12:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751731AbZA2TM3 (ORCPT ); Thu, 29 Jan 2009 14:12:29 -0500 Received: from mail.tut.by ([195.137.160.40]:50369 "EHLO speedy.tutby.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751358AbZA2TM3 (ORCPT ); Thu, 29 Jan 2009 14:12:29 -0500 Received: from [213.184.224.34] (account liplianin@tut.by HELO dynamic-vpdn-128-8-248.telecom.by) by speedy.tutby.com (CommuniGate Pro SMTP 5.1.12) with ESMTPA id 139902603; Thu, 29 Jan 2009 21:12:20 +0200 From: "Igor M. Liplianin" To: gimli , linux-media@vger.kernel.org Subject: Re: [linux-dvb] Broken Tuning on Wintv Nova HD S2 Date: Thu, 29 Jan 2009 21:12:15 +0200 User-Agent: KMail/1.9.9 References: <497F7117.9000607@dark-green.com> <200901291807.33531.liplianin@tut.by> <4981F064.7070407@dark-green.com> In-Reply-To: <4981F064.7070407@dark-green.com> MIME-Version: 1.0 Message-Id: <200901292112.15587.liplianin@tut.by> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org В сообщении от 29 January 2009 20:07:32 gimli написал(а): > Hi, > > your patch seems to work. If it works, then I prepare more simple patch. Signed-off-by: Edgar Hucek # HG changeset patch # User Igor M. Liplianin # Date 1233253267 -7200 # Node ID 3542d1c1e03add577ce85175327701c552d14856 # Parent 4086371cea7b7f8b461e1a77513274aa43583c8c Bug fix: Restore HVR-4000 tuning. From: Igor M. Liplianin Some cards uses cx24116 LNB_DC pin for LNB power control, some not uses, some uses it different way, like HVR-4000. Signed-off-by: Igor M. Liplianin diff -r 4086371cea7b -r 3542d1c1e03a linux/drivers/media/dvb/frontends/cx24116.c --- a/linux/drivers/media/dvb/frontends/cx24116.c Sat Jan 17 17:23:31 2009 +0200 +++ b/linux/drivers/media/dvb/frontends/cx24116.c Thu Jan 29 20:21:07 2009 +0200 @@ -1184,7 +1184,12 @@ if (ret != 0) return ret; - return cx24116_diseqc_init(fe); + ret = cx24116_diseqc_init(fe); + if (ret != 0) + return ret; + + /* HVR-4000 needs this */ + return cx24116_set_voltage(fe, SEC_VOLTAGE_13); } /*