From patchwork Thu Apr 23 21:11:04 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6265271 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 C3A3CBF4A6 for ; Thu, 23 Apr 2015 21:11:52 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 04B1A201F2 for ; Thu, 23 Apr 2015 21:11:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id D7319203A9 for ; Thu, 23 Apr 2015 21:11:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031014AbbDWVLk (ORCPT ); Thu, 23 Apr 2015 17:11:40 -0400 Received: from mail-lb0-f173.google.com ([209.85.217.173]:33592 "EHLO mail-lb0-f173.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1031262AbbDWVLg (ORCPT ); Thu, 23 Apr 2015 17:11:36 -0400 Received: by lbbzk7 with SMTP id zk7so22825831lbb.0 for ; Thu, 23 Apr 2015 14:11:34 -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=FNIxCCvxz+ZM649c5PreE4HNjJPSmEjWBE5OtspYkTA=; b=OJ9nlNE8CWz6OGW+CdTyYjNCrKJC+nhop10LKz8FiMyWoTLSVWt5ALieh0zXg79hHs QdyA6oAzjrdlgNoC1ama2Y2N5OwWQHnE3jqcYndX9lR+P2/h02ZFKOXo3MhBf8lsaiJc BeQ7xTBKDZ13s3Xp/Tj7xQYLQDnk1eeXCvt+YGxtfDmF7Tm2RZBDO2D2onJEBHqIaCvs 1CDT6qVuAQZOlJcrKq62zNQlMRhRE+uyrt00T23ogUhiYZH0N2gLtcG1sqMX9U2MN78i DpLecMK6lhHxLPReciq9lpqZTp1m8AN4eaaAfj4mS5N7tY1Wxd9b4KYQxyDaFYTgNVfl nzFg== X-Gm-Message-State: ALoCoQn3+jje/OV6CXZ+vMhuKAnfia1dvh2L81mm4Yx9EfQWGMS2p0H2dGGZGdAGzgdS9HrYPIT9 X-Received: by 10.152.45.97 with SMTP id l1mr4263542lam.55.1429823494843; Thu, 23 Apr 2015 14:11:34 -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.33 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 14:11:34 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 05/12] smipcie: specify if_port for si2157 devices Date: Fri, 24 Apr 2015 00:11:04 +0300 Message-Id: <1429823471-21835-5-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/pci/smipcie/smipcie.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/media/pci/smipcie/smipcie.c b/drivers/media/pci/smipcie/smipcie.c index 4115925..143fd78 100644 --- a/drivers/media/pci/smipcie/smipcie.c +++ b/drivers/media/pci/smipcie/smipcie.c @@ -657,6 +657,7 @@ static int smi_dvbsky_sit2_fe_attach(struct smi_port *port) /* attach tuner */ memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = port->fe; + si2157_config.if_port = 1; memset(&client_info, 0, sizeof(struct i2c_board_info)); strlcpy(client_info.type, "si2157", I2C_NAME_SIZE);