[RESEND,v4,05/21] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev
Message ID | 20230309144320.2937553-6-luca.ceresoli@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:5915:0:0:0:0:0 with SMTP id v21csp339274wrd; Thu, 9 Mar 2023 07:04:55 -0800 (PST) X-Google-Smtp-Source: AK7set9tuTA30GYgCKZ9umOfB0G3EaAsKO7iOScaNsI53igiZd9Y40tR4PBs3NauAUeBfZT7e0b4 X-Received: by 2002:a05:6102:3e1f:b0:3f1:4f38:3ced with SMTP id j31-20020a0561023e1f00b003f14f383cedmr11790536vsv.25.1678374295234; Thu, 09 Mar 2023 07:04:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1678374295; cv=none; d=google.com; s=arc-20160816; b=oX8nI4DDXif75lAK15AnM8onoaEEnL+/7PHOE8U2DssyXDXoVG8+QLMFaDA7pqa6Ts qT9AEH36YKFhTyts65oWObfcTBae7fQRvbuhMA2WqZ++rjYr58KRAv4kg1+fUn0aKtYO vjqkNU6ncMFl8i7QeboKvZauxk5rlIXxtiu1y7TYBCAbgymXlXeL3gggmDxCnAhE7lj6 4wXLWlQBc7u0se9zTeRbvwQjeHMu/bmTsg5F9L2OfZMqxOx84Shayv+sQ8HhsBfJ26Hh 41VvAHRAFdXAuYM5zEqfSreu9NSfVvrv8jnWLrKtk+fN3YmDfI98BjD0ERsxy0PGC2mm PmzQ== 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=ikxAPD7Vvk1m7tAFVkPYuAf4nAiPEaqcb80WwASZuDnGqjgpuSGd7OynjZeNbvM0Tb v0t7pi9buWvH17pGL9PKpDkoJ8gFGBlKtFdw9z7+rBwAxnmMTD0mG/9UC0WU8qc27fa2 16hQOibU3hOxxsBhaKIOuqx5sHRdu5nrmU8tNGiP4CbJy0njoU6wUqeRwlmS0Q0W9NB8 CZKvlxCSi44ykWJDI+sdZBqOT02ecTh9pp5qq1HmZ5Ni0TQLtfRFt4+eu4PIE3JQeHG7 EGRIQJHjTTEG3gWQQIYoOP/P+/0uq4XTWCd2a2f08e69M1lQMb+klPDXkQo5Ev8aCzO0 RTEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=LVAzo6U4; 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 q19-20020a67de13000000b00421a3968318si5733237vsk.492.2023.03.09.07.04.39; Thu, 09 Mar 2023 07:04:55 -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=LVAzo6U4; 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 S231895AbjCIOoC (ORCPT <rfc822;carlos.wei.hk@gmail.com> + 99 others); Thu, 9 Mar 2023 09:44:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231578AbjCIOnp (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 9 Mar 2023 09:43:45 -0500 Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7CFDB69225; Thu, 9 Mar 2023 06:43:42 -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 7E5E1FF80D; Thu, 9 Mar 2023 14:43:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1678373021; 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=LVAzo6U4GRI3Wv3Vtn6jsbj3QAABlzPp/YkjzsOrHYXfBCg1GQm5JjQw6kQLvVs4jAlRkS dadwxj6hKnAqWVuQhA/tZWdv7VHkL5utB++BKEGwY9vJZFQZShAM0pvZd+MsLECi51UbMb z4TJD1cs+n4YpU4q5vM38asta5I02JlJ3M+a9ouFnKluo0/IKKSi0MQeoLZg7AyjVA/kGr cNOgEfUpw02ARHR1OOMZit3Rd/rfa+44nZuSLeNEg/TNVCFgg4DLWlpJbDfpkazBzcmMCk KNpEtEg1taMAJa+UoGXh7PBCV6MTFrmh/d1Tin8Wi6grhY6Iivts07Gcrkk1tg== 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: [RESEND PATCH v4 05/21] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev Date: Thu, 9 Mar 2023 15:43:04 +0100 Message-Id: <20230309144320.2937553-6-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230309144320.2937553-1-luca.ceresoli@bootlin.com> References: <20230309144320.2937553-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?1759903005039218578?= X-GMAIL-MSGID: =?utf-8?q?1759903005039218578?= |
Series |
Add Tegra20 parallel video input capture
|
|
Commit Message
Luca Ceresoli
March 9, 2023, 2:43 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) {