From patchwork Wed Apr 18 16:12:04 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Brad Love X-Patchwork-Id: 10348667 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id E24BA60216 for ; Wed, 18 Apr 2018 16:13:45 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D55EC2871A for ; Wed, 18 Apr 2018 16:13:45 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C9A442873D; Wed, 18 Apr 2018 16:13:45 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 405DF28844 for ; Wed, 18 Apr 2018 16:12:19 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752743AbeDRQMR (ORCPT ); Wed, 18 Apr 2018 12:12:17 -0400 Received: from sub5.mail.dreamhost.com ([208.113.200.129]:46056 "EHLO homiemail-a125.g.dreamhost.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752077AbeDRQML (ORCPT ); Wed, 18 Apr 2018 12:12:11 -0400 Received: from homiemail-a125.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a125.g.dreamhost.com (Postfix) with ESMTP id 3714B60000E03; Wed, 18 Apr 2018 09:12:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=nextdimension.cc; h=from :to:cc:subject:date:message-id:in-reply-to:references; s= nextdimension.cc; bh=+sHZGnsFwmUoKtSC8+YmHa6C/Sw=; b=OMA7whv0EIP 5HqvKlP1wbvmJ5b1UeZFKCm8if0hmB++ienARnz8quMIDS9FsQlc1AxTcDvkXM55 DWR+uLlB3OhYuVKgECEcp2j52KYac3iXpSKhu7iFxQFV7zIPuxbcVou8Q3WFAPM4 MuM4s62LiCs0v1jbzMGn6j1aSgPQ3qCs= Received: from localhost.localdomain (66-90-189-166.dyn.grandenetworks.net [66.90.189.166]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: brad@nextdimension.ws) by homiemail-a125.g.dreamhost.com (Postfix) with ESMTPSA id F3B0760000E06; Wed, 18 Apr 2018 09:12:10 -0700 (PDT) From: Brad Love To: linux-media@vger.kernel.org Cc: Brad Love Subject: [PATCH 2/5] lgdt3306a v3.4 i2c mux backport Date: Wed, 18 Apr 2018 11:12:04 -0500 Message-Id: <1524067927-12113-3-git-send-email-brad@nextdimension.cc> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1524067927-12113-1-git-send-email-brad@nextdimension.cc> References: <1524067927-12113-1-git-send-email-brad@nextdimension.cc> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Trivial patch Signed-off-by: Brad Love --- backports/v3.4_i2c_add_mux_adapter.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/backports/v3.4_i2c_add_mux_adapter.patch b/backports/v3.4_i2c_add_mux_adapter.patch index 5f93275..fc1b697 100644 --- a/backports/v3.4_i2c_add_mux_adapter.patch +++ b/backports/v3.4_i2c_add_mux_adapter.patch @@ -66,3 +66,17 @@ index 725c13a..35e3ac1 100644 dev /* mux_priv */, 0, mux_no /* chan_id */, +diff --git a/drivers/media/dvb-frontends/lgdt3306a.c b/drivers/media/dvb-frontends/lgdt3306a.c +--- a/drivers/media/dvb-frontends/lgdt3306a.c 2018-01-23 22:15:12.146359404 +0000 ++++ b/drivers/media/dvb-frontends/lgdt3306a.c 2018-01-23 22:16:01.055381481 +0000 +@@ -2300,8 +2300,8 @@ static int lgdt3306a_probe(struct i2c_cl + state = fe->demodulator_priv; + + /* create mux i2c adapter for tuner */ +- state->i2c_adap = i2c_add_mux_adapter(client->adapter, &client->dev, +- client, 0, 0, lgdt3306a_select, lgdt3306a_deselect); ++ state->i2c_adap = i2c_add_mux_adapter(client->adapter, client, ++ 0, 0, lgdt3306a_select, lgdt3306a_deselect); + if (state->i2c_adap == NULL) { + ret = -ENODEV; + goto err_kfree;