From patchwork Thu Apr 23 21:11:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6265311 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 8A6F8BF4A7 for ; Thu, 23 Apr 2015 21:11:56 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id B75D7201C8 for ; Thu, 23 Apr 2015 21:11:55 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id CF347201F2 for ; Thu, 23 Apr 2015 21:11:54 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031269AbbDWVLs (ORCPT ); Thu, 23 Apr 2015 17:11:48 -0400 Received: from mail-lb0-f181.google.com ([209.85.217.181]:35327 "EHLO mail-lb0-f181.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031023AbbDWVLm (ORCPT ); Thu, 23 Apr 2015 17:11:42 -0400 Received: by lbbuc2 with SMTP id uc2so22761258lbb.2 for ; Thu, 23 Apr 2015 14:11:41 -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=s9+WO1peTwMlCgV+6MFf9Xl3qTD7NI8uiDtGmGfbb70=; b=Y3gaQXjAJA9R1Bhu8xeDGsGPqy4xtAiMhmrgOYnK5P0aNlNVq9h1xZqGRA0/WS4TZh /L8uKBe9MhprJluXOTmyrTppESE55y2kwXIFZEN7d8uQOpU2qSGwqmZKNzBupRCMAUwV c6hME5bC4P1ab2OziPo8TNHXJ+A9u+4rm51ZBW3rhn5aoPWqEVS3wcO5HthCYzqcMNN0 Y/qxmtrZE6cGXxvL3tIC/UKaNJAOxDnCO3m70w93c1yuVtHajwHNZBc6mfZ7+MDWyO37 FDn9wMIoK5sJrut7M2e1M4a//NIlqISOsAFjVhuI83cHkek8NqNCQ0/j5CC7pdMzxZyi LUtA== X-Gm-Message-State: ALoCoQnbqBvwK5fjzfpAMJOz45jXNfTyquF+DY3oZSqkBFyjaL04BZvJUwUuSf3YCHSpAsbCOa4y X-Received: by 10.152.19.199 with SMTP id h7mr4331640lae.32.1429823501166; Thu, 23 Apr 2015 14:11:41 -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.39 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 14:11:40 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 09/12] cxusb: specify if_port for si2157 devices Date: Fri, 24 Apr 2015 00:11:08 +0300 Message-Id: <1429823471-21835-9-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/cxusb.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/usb/dvb-usb/cxusb.c b/drivers/media/usb/dvb-usb/cxusb.c index ffc3704..ab71511 100644 --- a/drivers/media/usb/dvb-usb/cxusb.c +++ b/drivers/media/usb/dvb-usb/cxusb.c @@ -1350,6 +1350,7 @@ static int cxusb_mygica_t230_frontend_attach(struct dvb_usb_adapter *adap) /* attach tuner */ memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = adap->fe_adap[0].fe; + si2157_config.if_port = 1; memset(&info, 0, sizeof(struct i2c_board_info)); strlcpy(info.type, "si2157", I2C_NAME_SIZE); info.addr = 0x60;