From patchwork Wed Dec 7 19:31:37 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9465117 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 697266022E for ; Wed, 7 Dec 2016 19:35:05 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 592A2212D8 for ; Wed, 7 Dec 2016 19:35:05 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4D03728560; Wed, 7 Dec 2016 19:35:05 +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=-4.1 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_MED,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DB430212D8 for ; Wed, 7 Dec 2016 19:35:04 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEhy8-0004gb-4a; Wed, 07 Dec 2016 19:33:32 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1cEhwj-0003dt-Ta for linux-arm-kernel@lists.infradead.org; Wed, 07 Dec 2016 19:32:07 +0000 Received: by mail-pf0-x229.google.com with SMTP id 189so78874492pfz.3 for ; Wed, 07 Dec 2016 11:31:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Xpvy3d8C55yLY0P9FDktrgnUgzmAif848vGh2xW2+g0=; b=lECvEXgu3otgxBK0rj1MPgMhx5ZW1MMkBnSQSnSo9VFcNGz0wisQ6O0iondCH+ux9j 7MAxak0hh65PTqLNwqgX6be+opWaDIYpfaPedEl8f8OesDy5pUv+M4EiOjXT1vEQsyXK f50YjN1TXMsU0E3LK0OcO3w5AeNYcihm5lYBlT152QiiM2HwCXkscSkRC7sCNEw3OnyN LcAVstEK68uxh/mDwO8duuOrm0hEF7VhQ2Ua+N/+3BXSBjYuQMakZaZP7JbDQXJvuxKv j8qHjBW5Mab2mFiDZQcHUzAts+Fo5glykAsbgSe8+YVhglC50WpOoySeadL5QdMnPX6K Z92g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Xpvy3d8C55yLY0P9FDktrgnUgzmAif848vGh2xW2+g0=; b=jb7yDI/R76bk5PK4piuTYGN978jNEEDvYZgHVfA+l1HZDq+fzgXUG1fODzLcxVx9Zc 1C+nZ98rmsMKK0mwH38DQERI8ZfJ8+MQ4uS+2rYvUaSYyoowP+7kz9cbDZPZiju/rw0s vTv6QqbwLj1iJ4IipUFwBm8hcfqfWz8LOWKPHoKufritwtYCOoRfjkqD+pkq4qyGZ5y8 3dk5a1rmuFZ/iD+mo82RWAd4fuYXXsWeiIaPq3tmdOzYl2TJqhAwc9vSsvcUwi4Dit2t AP/mX57zYp/Q+LorfXiWRoMGbIlWQqC08AeDZaDVzD7f533DSpg2MeTCUBghPORgepA9 2Vfw== X-Gm-Message-State: AKaTC02luM0bNJ9L0Tk6wYhwfqSqhGffpYpKdfepplFGGFB29Qi/IaKRnANbDeCpnuNBlw7L X-Received: by 10.84.196.164 with SMTP id l33mr150905854pld.150.1481139104929; Wed, 07 Dec 2016 11:31:44 -0800 (PST) Received: from localhost (c-98-203-232-209.hsd1.wa.comcast.net. [98.203.232.209]) by smtp.gmail.com with ESMTPSA id 4sm44638309pgd.32.2016.12.07.11.31.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Dec 2016 11:31:44 -0800 (PST) From: Kevin Hilman To: Sekhar Nori Subject: [PATCH v2 4/4] ARM: davinci: board-da850-evm: add I2C ID for VPIF Date: Wed, 7 Dec 2016 11:31:37 -0800 Message-Id: <20161207193137.27947-5-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20161207193137.27947-1-khilman@baylibre.com> References: <20161207193137.27947-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20161207_113206_189357_AB8747A4 X-CRM114-Status: GOOD ( 10.83 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Lechner , Axel Haslam , javier@osg.samsung.com, Hans Verkuil , =?UTF-8?q?Bartosz=20Go=C5=82aszewski?= , Sakari Ailus , Alexandre Bailon , Patrick Titiano , linux-arm-kernel@lists.infradead.org, Laurent Pinchart Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP VPIF capture driver now has a way to specific I2C adapter ID (was previously hard-coded.) Use the new interface. Signed-off-by: Kevin Hilman --- arch/arm/mach-davinci/board-da850-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 8e4539f69fdc..60f15f276ab7 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -1229,6 +1229,7 @@ static struct vpif_subdev_info da850_vpif_capture_sdev_info[] = { static struct vpif_capture_config da850_vpif_capture_config = { .subdev_info = da850_vpif_capture_sdev_info, .subdev_count = ARRAY_SIZE(da850_vpif_capture_sdev_info), + .i2c_adapter_id = 1, .chan_config[0] = { .inputs = da850_ch0_inputs, .input_count = ARRAY_SIZE(da850_ch0_inputs),