From patchwork Thu Apr 23 21:11:06 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6265291 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id C02039F52D for ; Thu, 23 Apr 2015 21:11:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id EB9CE201C8 for ; Thu, 23 Apr 2015 21:11:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 13346201F2 for ; Thu, 23 Apr 2015 21:11:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031064AbbDWVLo (ORCPT ); Thu, 23 Apr 2015 17:11:44 -0400 Received: from mail-lb0-f171.google.com ([209.85.217.171]:33625 "EHLO mail-lb0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758509AbbDWVLj (ORCPT ); Thu, 23 Apr 2015 17:11:39 -0400 Received: by lbbzk7 with SMTP id zk7so22826661lbb.0 for ; Thu, 23 Apr 2015 14:11:38 -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=CV1ajkDVwG1zEmwR91RGirMnL2VGtlV0brp7h+ZCD+c=; b=GT2DNaCVbQwK85RLlWRngnMe+mjg0G9ablOSfvTddWkPFEctMNn2gXuBlt/JJWpzwn ylRjEHSUoXqM3xlUT/UqSDs81EmULL0iS2rLlCPb94vjmSwHYN2UV+YZkDkpQzO/FhGr TGXvsrULWmbMN0q399UU8HqX7OHm/0S+VrsTkz14FbtQIbfEngb2joH8TtPUpmLY7/mH 4yzq6TuxPkAI+gy091iLb9QAPEwCSYVJ6STkEWZcOKcusS1G83hUw7XZSJjal3ABDefZ uEdF18MYsqLjR5Y3KDX4Px5pi30F915iHJPgEG1QDtKm/xzVa8LljClffgH2/kFFgzly 43Lg== X-Gm-Message-State: ALoCoQlqI/603vmgcZrqarOhVVLwDhMjae2ceja6Rc6/+e0Qw5ZQubD4W9FQZGXbcFATX0OuY4nI X-Received: by 10.152.88.99 with SMTP id bf3mr4066348lab.97.1429823497975; Thu, 23 Apr 2015 14:11:37 -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.36 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 14:11:37 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 07/12] af9035: specify if_port for si2157 devices Date: Fri, 24 Apr 2015 00:11:06 +0300 Message-Id: <1429823471-21835-7-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=unavailable 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/af9035.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/dvb-usb-v2/af9035.c b/drivers/media/usb/dvb-usb-v2/af9035.c index 80a29f5..7b7f75d 100644 --- a/drivers/media/usb/dvb-usb-v2/af9035.c +++ b/drivers/media/usb/dvb-usb-v2/af9035.c @@ -1569,6 +1569,7 @@ static int it930x_tuner_attach(struct dvb_usb_adapter *adap) memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = adap->fe[0]; + si2157_config.if_port = 1; ret = af9035_add_i2c_dev(d, "si2157", 0x63, &si2157_config, state->i2c_adapter_demod);