From patchwork Thu Apr 23 21:11:07 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6265331 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id A025EBF4A7 for ; Thu, 23 Apr 2015 21:11:59 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id E0DD9203AE for ; Thu, 23 Apr 2015 21:11:57 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id A9954201F2 for ; Thu, 23 Apr 2015 21:11:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031271AbbDWVLv (ORCPT ); Thu, 23 Apr 2015 17:11:51 -0400 Received: from mail-lb0-f180.google.com ([209.85.217.180]:33641 "EHLO mail-lb0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031015AbbDWVLl (ORCPT ); Thu, 23 Apr 2015 17:11:41 -0400 Received: by lbbzk7 with SMTP id zk7so22827073lbb.0 for ; Thu, 23 Apr 2015 14:11:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=QGtmXk9h4owLIcINSxBGrxAQAH9G0PsyT4XLkvI0XGk=; b=EK8aWZ8GMbsMzO5+VzrvssOk85dehAf6WvpoebvAQ984xxk/pV+aMT0NtcoHOrXXQb yJHzR8dON2+JkkdzG4W01+Xo4egKg1tM+nlVOnAZWTE2/rpOlRaIcjMupAR+4NbZPA0R ekYovnFca2arguqCYFHA1E8HansBu5rNYLQYz/g6btbo8uSN7oleG7gFdMZ+P8WIlC4Q Drqp6zNqMG93N8J2FcO/I4V6VGfoSjMEJuStprvd/dSlnKt0PTkinWlPTsiKKIeVlLSD HgKTgLQT65bzqXtcIKV36NgDn2gNfKRtgmMK3QwnmneWTZPewjU5/h4AZKP+nTW0TGg7 0YAQ== X-Gm-Message-State: ALoCoQmfiAX2HyiqqyaUy+a8qaGVOMvlwA+91tENBE6K7rmk02HZf/f4w/kr/4dBxAgI1oSmZ7HO X-Received: by 10.152.120.106 with SMTP id lb10mr4066912lab.92.1429823499494; Thu, 23 Apr 2015 14:11:39 -0700 (PDT) Received: from dl160.lan (188-67-88-189.bb.dnainternet.fi. [188.67.88.189]) by mx.google.com with ESMTPSA id i3sm2121712lbs.21.2015.04.23.14.11.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 14:11:38 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 08/12] dvbsky: specify if_port for si2157 devices Date: Fri, 24 Apr 2015 00:11:07 +0300 Message-Id: <1429823471-21835-8-git-send-email-olli.salonen@iki.fi> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1429823471-21835-1-git-send-email-olli.salonen@iki.fi> References: <1429823471-21835-1-git-send-email-olli.salonen@iki.fi> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Set the if_port parameter for all Si2157-based devices. Signed-off-by: Olli Salonen --- drivers/media/usb/dvb-usb-v2/dvbsky.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/dvb-usb-v2/dvbsky.c b/drivers/media/usb/dvb-usb-v2/dvbsky.c index 0f73b1d..57c8c2d 100644 --- a/drivers/media/usb/dvb-usb-v2/dvbsky.c +++ b/drivers/media/usb/dvb-usb-v2/dvbsky.c @@ -549,6 +549,7 @@ static int dvbsky_t680c_attach(struct dvb_usb_adapter *adap) /* attach tuner */ memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = adap->fe[0]; + si2157_config.if_port = 1; memset(&info, 0, sizeof(struct i2c_board_info)); strlcpy(info.type, "si2157", I2C_NAME_SIZE); info.addr = 0x60; @@ -633,6 +634,7 @@ static int dvbsky_t330_attach(struct dvb_usb_adapter *adap) /* attach tuner */ memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = adap->fe[0]; + si2157_config.if_port = 1; memset(&info, 0, sizeof(struct i2c_board_info)); strlcpy(info.type, "si2157", I2C_NAME_SIZE); info.addr = 0x60;