From patchwork Sun Apr 24 21:08:07 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ivaylo Dimitrov X-Patchwork-Id: 8921681 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 A64489F1C1 for ; Sun, 24 Apr 2016 21:10:54 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id DB822201EC for ; Sun, 24 Apr 2016 21:10:53 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3B19720103 for ; Sun, 24 Apr 2016 21:10:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753311AbcDXVK3 (ORCPT ); Sun, 24 Apr 2016 17:10:29 -0400 Received: from mail-wm0-f66.google.com ([74.125.82.66]:33152 "EHLO mail-wm0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753264AbcDXVKV (ORCPT ); Sun, 24 Apr 2016 17:10:21 -0400 Received: by mail-wm0-f66.google.com with SMTP id r12so17688203wme.0 for ; Sun, 24 Apr 2016 14:10:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=jz3T9dt7ZAoNo0BiTrUUUJWIl+3f/4pBfJ1eEthm1h8=; b=CDOpTuxipBkjtqWvwwRtgO+V8l7FCS0bZv2rKI00VPJhrUf2MFqMXVkvZXbm1rKaRN +VfbORu8mVV/nbiqEiLrkLQnn94ElE7VXft+h1B+FOsxGZ23ZkiwJDr72SKnl17yON59 UlQgE7AOrBEXgxYrshA+0DVL380nh+/TPAZxjyJp/y5yFx2Rgv394oCs5X8QNoM2veQ4 r3xfc5+v1Q36kadO6rmXih6DLKqVE27twnuPZp2/nsTUc02NpamgB1mGb+8C2mbv5Zjy BEWn6U+RHeCkmkc/j9RnsOsM2OJ0XeYJwmxsmWiRjOb0D7jEnM5XXcSOKHUvl6fXr3US vtBQ== 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; bh=jz3T9dt7ZAoNo0BiTrUUUJWIl+3f/4pBfJ1eEthm1h8=; b=Z9vwDL3t/LFvmNZwAgnBQnMck00ffQwIFTJir8KOZ1hQ2x3ybZ1oq3qWflV9yQ1K9Q MV/RPOQ7AHsPrFDYoN1SNaeEnkaRt1MuUCuHxz04IuN082OU2qZDc3Ps6qJQt2Vqb9rf 2Dlu+WkMMGBsU2bqgoL/cuUkHmoiOh6Cxj8wDatjrmCrapihcN7hGPa0oZ9wVqB7xZRX lGTmIvDNSp3+vPsIdtctZx/p58BM1PwMSOsmqgfYq2yWZI/zfnH4g4NugAlPMVLxfywM UTaac5S3WkYrjAd51x6xBqKyswtgR2tChteQc16c2OucwqdWdqddJokOEdYCAlt6lOYf wQIQ== X-Gm-Message-State: AOPr4FV9pBmJy7onN3bzcK0eIDYlJKvd1ut76Cx6VDrUrTGES0Z5KbyESmNm3URiQLo9qQ== X-Received: by 10.28.173.137 with SMTP id w131mr8183440wme.72.1461532220179; Sun, 24 Apr 2016 14:10:20 -0700 (PDT) Received: from localhost.localdomain ([46.249.74.23]) by smtp.gmail.com with ESMTPSA id b2sm15440182wmb.9.2016.04.24.14.10.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sun, 24 Apr 2016 14:10:19 -0700 (PDT) From: Ivaylo Dimitrov To: sakari.ailus@iki.fi Cc: sre@kernel.org, pali.rohar@gmail.com, pavel@ucw.cz, linux-media@vger.kernel.org Subject: [RFC PATCH 07/24] v4l: of: Call CSI2 bus csi2, not csi Date: Mon, 25 Apr 2016 00:08:07 +0300 Message-Id: <1461532104-24032-8-git-send-email-ivo.g.dimitrov.75@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> References: <20160420081427.GZ32125@valkosipuli.retiisi.org.uk> <1461532104-24032-1-git-send-email-ivo.g.dimitrov.75@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_DKIM_INVALID, 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 From: Sakari Ailus The function to parse CSI2 bus parameters was called v4l2_of_parse_csi_bus(), rename it as v4l2_of_parse_csi2_bus() in anticipation of CSI1/CCP2 support. Signed-off-by: Sakari Ailus Acked-by: Pavel Machek --- drivers/media/v4l2-core/v4l2-of.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/media/v4l2-core/v4l2-of.c b/drivers/media/v4l2-core/v4l2-of.c index 93b3368..f2618fd 100644 --- a/drivers/media/v4l2-core/v4l2-of.c +++ b/drivers/media/v4l2-core/v4l2-of.c @@ -20,7 +20,7 @@ #include -static int v4l2_of_parse_csi_bus(const struct device_node *node, +static int v4l2_of_parse_csi2_bus(const struct device_node *node, struct v4l2_of_endpoint *endpoint) { struct v4l2_of_bus_mipi_csi2 *bus = &endpoint->bus.mipi_csi2; @@ -158,7 +158,7 @@ int v4l2_of_parse_endpoint(const struct device_node *node, memset(&endpoint->bus_type, 0, sizeof(*endpoint) - offsetof(typeof(*endpoint), bus_type)); - rval = v4l2_of_parse_csi_bus(node, endpoint); + rval = v4l2_of_parse_csi2_bus(node, endpoint); if (rval) return rval; /*