From patchwork Thu Apr 23 21:11:05 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Olli Salonen X-Patchwork-Id: 6265281 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 C99529F389 for ; Thu, 23 Apr 2015 21:11:53 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 08DD5201C8 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 081BA203AB for ; Thu, 23 Apr 2015 21:11:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1031013AbbDWVLm (ORCPT ); Thu, 23 Apr 2015 17:11:42 -0400 Received: from mail-la0-f49.google.com ([209.85.215.49]:36439 "EHLO mail-la0-f49.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758424AbbDWVLh (ORCPT ); Thu, 23 Apr 2015 17:11:37 -0400 Received: by lagv1 with SMTP id v1so21950976lag.3 for ; Thu, 23 Apr 2015 14:11:36 -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=ztpc8RTYWUgHOU1XlETpOJWLdQ/W4cRfByQTiac2e/U=; b=JVJ7C9NxwXyB9pmCZsTNj//eUHWSm7KtGZwKfe/A2gUYgOy1BPIzSrhlc0Pu8GfAF6 7LhC0Jas5VBjKoyls5a+acAgu7HkuNMqvd6dhjxI4H+1eXwAlrsN9ZGHDbf9RHMqYRcQ oZrPujXLTCOsMYMc783ix+dWkf64HFJ1KX7utI1wfGYua1Utzv3S1G4/W3gddxlFPgMV oqMxmgOApz1a9ilPL+qcQbyLhVrM7rh0DlTvMQVhmsaKcnoCPs43BXNcKGrw32Bgkt2E WiRsQraLnt8b4Trbq1dqybL1fB/Y9Hpe6LlOJ1BBpIEELuBKv7QVDwRRCyFa99+g+VKh 0JtQ== X-Gm-Message-State: ALoCoQmCYCiP6mQ5uXeZ4xFAsFMmlkD/yCVcOXrMpe2RXctDTfgECg0dfwcSaOzI6Rp5RjkRcneH X-Received: by 10.152.29.42 with SMTP id g10mr4296732lah.58.1429823496406; Thu, 23 Apr 2015 14:11:36 -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.34 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 23 Apr 2015 14:11:35 -0700 (PDT) From: Olli Salonen To: linux-media@vger.kernel.org Cc: Olli Salonen Subject: [PATCH 06/12] cx231xx: specify if_port for si2157 devices Date: Fri, 24 Apr 2015 00:11:05 +0300 Message-Id: <1429823471-21835-6-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/cx231xx/cx231xx-dvb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/usb/cx231xx/cx231xx-dvb.c b/drivers/media/usb/cx231xx/cx231xx-dvb.c index 610d567..66ee161 100644 --- a/drivers/media/usb/cx231xx/cx231xx-dvb.c +++ b/drivers/media/usb/cx231xx/cx231xx-dvb.c @@ -797,6 +797,7 @@ static int dvb_init(struct cx231xx *dev) /* attach tuner */ memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = dev->dvb->frontend; + si2157_config.if_port = 1; si2157_config.inversion = true; strlcpy(info.type, "si2157", I2C_NAME_SIZE); info.addr = 0x60; @@ -852,6 +853,7 @@ static int dvb_init(struct cx231xx *dev) /* attach tuner */ memset(&si2157_config, 0, sizeof(si2157_config)); si2157_config.fe = dev->dvb->frontend; + si2157_config.if_port = 1; si2157_config.inversion = true; strlcpy(info.type, "si2157", I2C_NAME_SIZE); info.addr = 0x60;