From patchwork Thu Feb 17 22:11:28 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: poma X-Patchwork-Id: 572271 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 p1HMBZKS023249 for ; Thu, 17 Feb 2011 22:11:35 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753849Ab1BQWLe (ORCPT ); Thu, 17 Feb 2011 17:11:34 -0500 Received: from mail-fx0-f46.google.com ([209.85.161.46]:65196 "EHLO mail-fx0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750788Ab1BQWLd (ORCPT ); Thu, 17 Feb 2011 17:11:33 -0500 Received: by fxm20 with SMTP id 20so3111973fxm.19 for ; Thu, 17 Feb 2011 14:11:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type; bh=ZJjwg9iBJ13CMcvMVv4RH8tZCMOE/lrGkmZodTn6SpY=; b=Ymbmix5yQ7/GohJbgxkYKhW8e3JzM4BYHIzON6zgz6rd6Mw7I0/L8LXhYuLCXncVuH cCXHP46pmPNTFoc9XOJhnDeNYLPChAFaUA2UVbxiYgnmHI7TIxMZH29NsjRpa11cNUeR HDLmZpPpEJKH9w+b6ih/LEi20w9nXP/6O3IOc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type; b=NfhHWyZGmHN5hJF79klfDfe9YRtTtRxqyFPJESEYuc8syVoUZeZ6fDTK0eane/ZmVn 8M/InX1mDud7elorapVe6sfF7H9XGTaxVGnYS9ISPFCT+TLF78lGjv0rfk9WduIlio6z e35damSoCdLuIZ6/BMe85hjEETmtVZfhVrxg8= Received: by 10.223.70.141 with SMTP id d13mr1260139faj.111.1297980692040; Thu, 17 Feb 2011 14:11:32 -0800 (PST) Received: from nuna.kompudera.dma ([161.53.230.61]) by mx.google.com with ESMTPS id n7sm750156fam.11.2011.02.17.14.11.29 (version=SSLv3 cipher=OTHER); Thu, 17 Feb 2011 14:11:30 -0800 (PST) Message-ID: <4D5D9D10.2060709@gmail.com> Date: Thu, 17 Feb 2011 23:11:28 +0100 From: poma User-Agent: Thunderbird 2.0.0.24 (X11/20101213) MIME-Version: 1.0 To: linux-media@vger.kernel.org, Antti Palosaari , andrew.williams@joratech.com, lindsay.mathieson@gmail.com, skandalfo@gmail.com, news004@upsilon.org.uk Subject: Re: Afatech AF9015 & dual tuner - dual_mode B.R.O.K.E.N. References: <4D5B5FE2.5000302@gmail.com> <4D5CE929.4050102@gmail.com> In-Reply-To: <4D5CE929.4050102@gmail.com> 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.6 (demeter1.kernel.org [140.211.167.41]); Thu, 17 Feb 2011 22:11:35 +0000 (UTC) --- a/linux/drivers/media/dvb/dvb-usb/af9015.c 2011-01-10 16:24:45.000000000 +0100 +++ b/linux/drivers/media/dvb/dvb-usb/af9015.c 2011-02-17 21:58:42.099040739 +0100 @@ -40,6 +40,9 @@ static int dvb_usb_af9015_remote; module_param_named(remote, dvb_usb_af9015_remote, int, 0644); MODULE_PARM_DESC(remote, "select remote"); +static int dvb_usb_af9015_dual_mode; +module_param_named(dual_mode, dvb_usb_af9015_dual_mode, int, 0644); +MODULE_PARM_DESC(dual_mode, "enable dual mode"); DVB_DEFINE_MOD_OPT_ADAPTER_NR(adapter_nr); static DEFINE_MUTEX(af9015_usb_mutex); @@ -841,6 +844,9 @@ goto error; af9015_config.dual_mode = val; deb_info("%s: TS mode:%d\n", __func__, af9015_config.dual_mode); + /* disable dual mode by default because it is buggy */ + if (!dvb_usb_af9015_dual_mode) + af9015_config.dual_mode = 0; /* Set adapter0 buffer size according to USB port speed, adapter1 buffer size can be static because it is enabled only USB2.0 */