[v6,04/20] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev
Message ID | 20230418080054.452955-5-luca.ceresoli@bootlin.com |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp2670608vqo; Tue, 18 Apr 2023 01:16:46 -0700 (PDT) X-Google-Smtp-Source: AKy350ZzXM1YT50qQtslskjPxvYQ//omPRaof6JPw33ypnxbIGRc1PaZ7yb95gyRw1wpJQlYE/8H X-Received: by 2002:a17:903:230e:b0:1a2:7462:d674 with SMTP id d14-20020a170903230e00b001a27462d674mr1460832plh.24.1681805806058; Tue, 18 Apr 2023 01:16:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1681805806; cv=none; d=google.com; s=arc-20160816; b=kS83F/xd6a6OjlDnJuNoBhP9NZ2EonJtb6RUE1U4SDXIfU81enilebG6Gs6zCusQ/2 cWAMYNh2Ja5qlY3qZQqJ/6cjUCx1BxFOhJSAnTheSGgUs1lLL2nVWVIgcmF9tQZZKkTh /BlpQAN0wpRvyZY50CLmIOIeUfn0DO9L/qSfN5F+9szh1PrUQp5zApQ2LRTDRtNZjDZG 9KorFv1zLyrGS+MVed7FrI4yjvJK4EOZkGJl3Fpz8Iq1yaIt5IxWGcH20jQCgAXrHhXB hZP0QrNXneryKAobSDHzCU/uUlkW6Aq4Ar5XJX0MqExGixEvJ/VYQ+RAjr+QgCNK551U 8IWQ== 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=zEr0+swVK3WMZ0u3R6JdAyAw0vxa2R9V1YYMnBRXmiM=; b=0rStj2hElLtxqzZdIoBrw7Z4y4UlDvroKSj/H/BAwovDlXrJQDDg57jKy2AEU83KbC wPh9ooHL8kxiUoSgUNChWmgwVN6Q0NlGet81cny6x+VQxMllbN6rNPCJQbdkfjCW4a5F sQ9MP+3QPbOh6xHM54Ang5iuVanTPyjjD5osFs3dBY2pKrZIwCqiPuZ4djveYf4gel0E J5UexBPfeJNUbY6Ev3teu2imJNK+Le0yCGrTyuGsDOa36rFwte+IAcUJ7vUNdyWQ4x25 8Ked2WtIrykTy/3IcgzOcvKaed78B90wPunbckl9xkUFEclR9MSn9yCrP1c7G5I9wR46 PTHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=VlArBWYO; 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 l15-20020a170903120f00b001a64e7b702fsi14429785plh.447.2023.04.18.01.16.34; Tue, 18 Apr 2023 01:16:46 -0700 (PDT) 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=VlArBWYO; 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 S231404AbjDRICA (ORCPT <rfc822;leviz.kernel.dev@gmail.com> + 99 others); Tue, 18 Apr 2023 04:02:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231376AbjDRIBf (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Tue, 18 Apr 2023 04:01:35 -0400 Received: from relay10.mail.gandi.net (relay10.mail.gandi.net [217.70.178.230]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 77F657D87; Tue, 18 Apr 2023 01:01:20 -0700 (PDT) Received: from booty.fritz.box (unknown [77.244.183.192]) (Authenticated sender: luca.ceresoli@bootlin.com) by mail.gandi.net (Postfix) with ESMTPA id 748B8240013; Tue, 18 Apr 2023 08:01:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1681804879; 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=zEr0+swVK3WMZ0u3R6JdAyAw0vxa2R9V1YYMnBRXmiM=; b=VlArBWYO0GHWM0tVuD++le8G/QfyLoXa+QN+akk3JTrNqZq233IkarBTNAViSky0sFnME3 hGuSU4HbeSinWCRXm7PQf2WY4sm8ye7luOu5SPOIaHsW8b93f9CtHau7sT/O6cj/5Et5Kg ukuUsXLQ0omoSQGMbBdKESNZXDfk1yOvNNiwtbLFs07rY5Vkqs3hkBk5HCVMZnSPfcfopx R7TEFkPp7LRZOXlDCIqtKUp97boWOKxTrAEoq5lhP0jKZ1TCjd5wP+0BoxzphuWwacnPOa /lnYXXmFE0gi5ZB/eq6sCuuYW3rX2iv7jT3t9efHUQIDUSmH+Z+dpEY9ZFtQpg== From: Luca Ceresoli <luca.ceresoli@bootlin.com> To: linux-tegra@vger.kernel.org Cc: Luca Ceresoli <luca.ceresoli@bootlin.com>, 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>, linux-media@vger.kernel.org, dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-staging@lists.linux.dev, Laurent Pinchart <laurent.pinchart@ideasonboard.com>, Hans Verkuil <hverkuil-cisco@xs4all.nl>, Thomas Petazzoni <thomas.petazzoni@bootlin.com>, Paul Kocialkowski <paul.kocialkowski@bootlin.com>, Richard Leitner <richard.leitner@skidata.com>, Dmitry Osipenko <digetx@gmail.com> Subject: [PATCH v6 04/20] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev Date: Tue, 18 Apr 2023 10:00:38 +0200 Message-Id: <20230418080054.452955-5-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230418080054.452955-1-luca.ceresoli@bootlin.com> References: <20230418080054.452955-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,T_SCC_BODY_TEXT_LINE, URIBL_BLOCKED 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?1763501204858907855?= X-GMAIL-MSGID: =?utf-8?q?1763501204858907855?= |
Series |
Add Tegra20 parallel video input capture
|
|
Commit Message
Luca Ceresoli
April 18, 2023, 8 a.m. UTC
Clarify what this function does. Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> --- No changes in v6 No changes in v5 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 11dd142c98c5..44c56dc85980 100644 --- a/drivers/staging/media/tegra-video/vi.c +++ b/drivers/staging/media/tegra-video/vi.c @@ -164,6 +164,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) {