From patchwork Mon Apr 4 20:18:40 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stefan Ringel X-Patchwork-Id: 685401 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 p34KIvCo019972 for ; Mon, 4 Apr 2011 20:19:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755563Ab1DDUS6 (ORCPT ); Mon, 4 Apr 2011 16:18:58 -0400 Received: from mail-in-15.arcor-online.net ([151.189.21.55]:55378 "EHLO mail-in-15.arcor-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755450Ab1DDUS5 (ORCPT ); Mon, 4 Apr 2011 16:18:57 -0400 Received: from mail-in-18-z2.arcor-online.net (mail-in-18-z2.arcor-online.net [151.189.8.35]) by mx.arcor.de (Postfix) with ESMTP id 717FE1AB91E; Mon, 4 Apr 2011 22:18:55 +0200 (CEST) Received: from mail-in-02.arcor-online.net (mail-in-02.arcor-online.net [151.189.21.42]) by mail-in-18-z2.arcor-online.net (Postfix) with ESMTP id 6BBCF33A361; Mon, 4 Apr 2011 22:18:55 +0200 (CEST) Received: from localhost.localdomain (dslb-094-222-027-138.pools.arcor-ip.net [94.222.27.138]) (Authenticated sender: stefan.ringel@arcor.de) by mail-in-02.arcor-online.net (Postfix) with ESMTPA id 3079530D3A; Mon, 4 Apr 2011 22:18:55 +0200 (CEST) X-DKIM: Sendmail DKIM Filter v2.8.2 mail-in-02.arcor-online.net 3079530D3A DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=arcor.de; s=mail-in; t=1301948335; bh=r1lMTwTFknr9a0AAwwzBD2ogxlx+t0AFv3ImWqbfLqE=; h=From:To:Cc:Subject:Date:Message-Id; b=gj1Yom8Hc0EtKhJHIYknUUcs4sz3aUbg372LrlzM23DSq1zQhb/aDIAxGuH3kJIy7 Mx4fZtr/TDJiaeP1aGpEq4VJ6A6ADB8dfp5ft3qels+JT9KqVxz7MUc6lniwB6h7rP CoMTYL1w2eYyi2ZpStWjgl0MX+D69nbdc6Er1JH4= From: stefan.ringel@arcor.de To: linux-media@vger.kernel.org Cc: mchehab@redhat.com, d.belimov@gmail.com, Stefan Ringel Subject: [PATCH 1/5] tm6000: add mts parameter Date: Mon, 4 Apr 2011 22:18:40 +0200 Message-Id: <1301948324-27186-1-git-send-email-stefan.ringel@arcor.de> X-Mailer: git-send-email 1.7.3.4 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]); Mon, 04 Apr 2011 20:19:09 +0000 (UTC) From: Stefan Ringel add mts parameter Signed-off-by: Stefan Ringel --- drivers/staging/tm6000/tm6000-cards.c | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/drivers/staging/tm6000/tm6000-cards.c b/drivers/staging/tm6000/tm6000-cards.c index 146c7e8..eef58da 100644 --- a/drivers/staging/tm6000/tm6000-cards.c +++ b/drivers/staging/tm6000/tm6000-cards.c @@ -61,6 +61,10 @@ module_param_array(card, int, NULL, 0444); static unsigned long tm6000_devused; +static unsigned int xc2028_mts; +module_param(xc2028_mts, int, 0644); +MODULE_PARM_DESC(xc2028_mts, "enable mts firmware (xc2028/3028 only)"); + struct tm6000_board { char *name; @@ -685,6 +689,9 @@ static void tm6000_config_tuner(struct tm6000_core *dev) ctl.demod = XC3028_FE_ZARLINK456; ctl.vhfbw7 = 1; ctl.uhfbw8 = 1; + if (xc2028_mts) + ctl.mts = 1; + xc2028_cfg.tuner = TUNER_XC2028; xc2028_cfg.priv = &ctl;