From patchwork Mon Jan 9 20:55:31 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Kevin Hilman X-Patchwork-Id: 9505969 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 10F88606E1 for ; Mon, 9 Jan 2017 20:57:14 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id ED98128518 for ; Mon, 9 Jan 2017 20:57:13 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id E269528528; Mon, 9 Jan 2017 20:57:13 +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 AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 86C5B28518 for ; Mon, 9 Jan 2017 20:57:13 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cQh0B-00078u-8N; Mon, 09 Jan 2017 20:57:11 +0000 Received: from mail-pf0-x22d.google.com ([2607:f8b0:400e:c00::22d]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cQgz2-00052J-16 for linux-arm-kernel@lists.infradead.org; Mon, 09 Jan 2017 20:56:02 +0000 Received: by mail-pf0-x22d.google.com with SMTP id 127so33685225pfg.1 for ; Mon, 09 Jan 2017 12:55:39 -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=NfcNoaGlyprbFC1XadYZmsV2O2VLPO+SDITfmDFTlKY=; b=stSMLeGB92s6NrsQmchldILkMvYgTUnm4mCA538jRtvMcTx9vtI29ccIM9+ZuCB8Ly p1bl///eMUwFl3chCm1M3MryM4DKCrLe7NkQP+YQW6gO88eK33uHQqHijXMCjAXEAgkp a3zloel60WFLVGSdS0HEoWckK+8DyQOLQiD3CKaxjUXwQNLx4f0xAgdKPvKt27isQbFM Iw3qui4+5KULJ+cv432AcorblqHiAX0asHcSpYpHeLatJD3J2qIk1ekn7320+1fenlbd HfpeWzkKiDZ1kyJGdxDFpN1zpMOKND1rQAZCN2DZo/7Irk5ZzHTfe8bDEMAYCYJu3+aQ Wj7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=NfcNoaGlyprbFC1XadYZmsV2O2VLPO+SDITfmDFTlKY=; b=irthBfSk73wol4HRMa5ckUztn21ihFHYOrOfFqZX3dz4Fb7YEgQozgg3XMr6zCKhiW QqkEzqMqmtZG5bU63/wwD7u+BAglnRUxc+0HoSM1dopoexXfLx79Vj8nWKQZUyYEly13 kEln2Md0YHhI0xjdfsrfZ5VVfJ9xqXBxFYF2G2ZwPYNKi9gMJPP5ucUEnbe/iPQkfP/2 JMSPbXBxuconDSeTWv/VdDQDtPp8RjhCfN8OqErL60GqPfUQ3SPbtQCxfIZySHM3BW0H G2iQ4Q/RXcW/uVteH0qAB498WO7f7Mb+ewfO+mSUrS37kCKhsPHG10lO4JnxGDpsoPxx 82vw== X-Gm-Message-State: AIkVDXImm89wLI8jTwNeVxtjAh4i1S3kMG/F6Nu+pFoTbAco6amn6dZ3TzQU7dTuPuMMPmXj X-Received: by 10.84.193.131 with SMTP id f3mr55012973pld.26.1483995339227; Mon, 09 Jan 2017 12:55:39 -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 q2sm182950155pga.8.2017.01.09.12.55.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Jan 2017 12:55:38 -0800 (PST) From: Kevin Hilman To: Sekhar Nori Subject: [PATCH v2 6/6] ARM: davinci: board-da850-evm: add I2C ID for VPIF Date: Mon, 9 Jan 2017 12:55:31 -0800 Message-Id: <20170109205531.3435-7-khilman@baylibre.com> X-Mailer: git-send-email 2.9.3 In-Reply-To: <20170109205531.3435-1-khilman@baylibre.com> References: <20170109205531.3435-1-khilman@baylibre.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170109_125600_126041_54BDA2CE X-CRM114-Status: GOOD ( 10.53 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: David Lechner , Axel Haslam , Fabien Parent , =?UTF-8?q?Bartosz=20Go=C5=82aszewski?= , Alexandre Bailon , Patrick Titiano , linux-arm-kernel@lists.infradead.org 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 aac3ab1a044f..e5d4ded38d12 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -1212,6 +1212,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),