[v4,05/21] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev
Message ID | 20230130141603.323221-6-luca.ceresoli@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2203068wrn; Mon, 30 Jan 2023 06:18:09 -0800 (PST) X-Google-Smtp-Source: AK7set9uCyMUuWPw6uzrHmfknR8BcPBl8ZwfT9umfWxSiVVIJfj7+V70wHrSPQ+GZJ0ySasdMPni X-Received: by 2002:a17:906:af74:b0:87b:dac0:b23b with SMTP id os20-20020a170906af7400b0087bdac0b23bmr12473914ejb.55.1675088289287; Mon, 30 Jan 2023 06:18:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1675088289; cv=none; d=google.com; s=arc-20160816; b=XTqbACqg2qgsBuuq9VOccZC1q5yark0chlSh7+eIroTxL/vY5j8XvWlAPye8yBQcwr LDQoNjFsfcDWZwOIbdcZAKuCRWHlg8Q2JejThy0SZhIuQfjyrn3i5d6bN2iZloSi81pY 7fOGk6R8XxigECh/ITdyHC+RaCUhlytU0JGAmodbAEkA4IOrFq7KWA8yAhT3XcTX7Ho2 P8etJUQMp90kaTu3VB+jlHryawgMljlFxMu98P4HNmv59y0hMvMFglxoxYADqg35aouK 9eSFvdHvy+3ChaRhjywHwtwb1IP/ZwW2VO4Sf7l6HJl5bG910UGLOCc99v/8vjsT9UE6 LuNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=sSPKBUlHMxZ38nxoDS7iekTdWfdlYMqEzH/0zTPar3c=; b=PH7KTbfqX3U91mzPwA5AyID5bkIegoDCCt3BIpJG4jQ+GGA7GBlJp+aaOivR5iPQei +vgXMLd48HcUWILXA42CIQZSkhXrlnHcVEyBrXaJZjZ6vh8JfCXeJZ4fWiKJ8UW4HvxI 6fJAe8VwjpTndtq/Al72ZesG33niVbpFVITAGD8WibdvWrMC4BkXh5OLhdN9EgUkArvW rd/JILQ/W9pZ/U890BTzVZDp/Sjb7Dd3zs+h2VRvK2jnzZIg97NAwjuWo2a8Qqp1srTd yUjhn/yjQ+LVqEtsV15aWgGi9hEWJegLRQ9SYmUUlyVo4HXvVtQtLg4G3TIt+7rvSC3p lpJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="IVTwy/CS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id we23-20020a170907235700b008887a3e1d7csi3250108ejb.550.2023.01.30.06.17.44; Mon, 30 Jan 2023 06:18:09 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b="IVTwy/CS"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=bootlin.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237353AbjA3ORZ (ORCPT <rfc822;n2h9z4@gmail.com> + 99 others); Mon, 30 Jan 2023 09:17:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33278 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237483AbjA3OQ5 (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 30 Jan 2023 09:16:57 -0500 Received: from relay11.mail.gandi.net (relay11.mail.gandi.net [217.70.178.231]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 062BC3D908; Mon, 30 Jan 2023 06:16:51 -0800 (PST) Received: from booty.fritz.box (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 71DC3100004; Mon, 30 Jan 2023 14:16:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1675088210; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=sSPKBUlHMxZ38nxoDS7iekTdWfdlYMqEzH/0zTPar3c=; b=IVTwy/CSrik1mGUkHyhYK4kXBsAF1Eo/1gJL7TEd2GP2QHYQwt4Vs/ldsnnk76I8goyiOn 0p8Nrz8CT2w3mXrKUzwsfvlrMYCeYa+3+0SB0RlHzYTf2MPtFpraNRUE4MH3FjsJIxLauh pDRFojy8sW96MeCSDBRTH2uLO29qg1LFmjeRoXzNSpQltxMBZseqdAGDkhwJMn/YGsvZDC PTqVit9a+zYPzFUCpCYwDirEOI9pQDTqjyst5U4vHwUn9esuqVxoG9bWy5+yKV0kAV8cFq 7TA4AGuiZWyK0dfsqKYPhK/VrUEgc7YyCLf0shzJvUJHCeBnEwkXknZ2qvKrHQ== From: Luca Ceresoli <luca.ceresoli@bootlin.com> To: Thierry Reding <thierry.reding@gmail.com>, Jonathan Hunter <jonathanh@nvidia.com>, Sowjanya Komatineni <skomatineni@nvidia.com>, David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Mauro Carvalho Chehab <mchehab@kernel.org>, Greg Kroah-Hartman <gregkh@linuxfoundation.org>, Dmitry Osipenko <digetx@gmail.com>, Hans Verkuil <hverkuil-cisco@xs4all.nl> Cc: Luca Ceresoli <luca.ceresoli@bootlin.com>, linux-media@vger.kernel.org, linux-tegra@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Richard Leitner <richard.leitner@skidata.com> Subject: [PATCH v4 05/21] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev Date: Mon, 30 Jan 2023 15:15:47 +0100 Message-Id: <20230130141603.323221-6-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230130141603.323221-1-luca.ceresoli@bootlin.com> References: <20230130141603.323221-1-luca.ceresoli@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756457377919035871?= X-GMAIL-MSGID: =?utf-8?q?1756457377919035871?= |
Series |
Add Tegra20 parallel video input capture
|
|
Commit Message
Luca Ceresoli
Jan. 30, 2023, 2:15 p.m. UTC
Clarify what this function does. Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> --- Changed in v4: - Added review tags No changes in v3 No changes in v2 --- drivers/staging/media/tegra-video/vi.c | 3 +++ 1 file changed, 3 insertions(+)
diff --git a/drivers/staging/media/tegra-video/vi.c b/drivers/staging/media/tegra-video/vi.c index 9dba6e97ebdd..6aecdd28bd82 100644 --- a/drivers/staging/media/tegra-video/vi.c +++ b/drivers/staging/media/tegra-video/vi.c @@ -154,6 +154,9 @@ tegra_channel_get_remote_csi_subdev(struct tegra_vi_channel *chan) return media_entity_to_v4l2_subdev(pad->entity); } +/* + * Walk up the chain until the initial source (e.g. image sensor) + */ struct v4l2_subdev * tegra_channel_get_remote_source_subdev(struct tegra_vi_channel *chan) {