[v5,04/20] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev
Message ID | 20230407133852.2850145-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 b10csp297731vqo; Fri, 7 Apr 2023 06:48:26 -0700 (PDT) X-Google-Smtp-Source: AKy350aR62SCPhKC/4xMVN0TDQ4Dc9zOIsMzXLPMrZdj/lWtmHHdf6P3UyJXr29Ib4Jy46if/E7I X-Received: by 2002:a17:90b:4f4a:b0:237:161e:33bc with SMTP id pj10-20020a17090b4f4a00b00237161e33bcmr2581925pjb.16.1680875306154; Fri, 07 Apr 2023 06:48:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680875306; cv=none; d=google.com; s=arc-20160816; b=VC+C63Vs/+Hf1hrFXsAGYMFmefTc6n8lCgHIaVncB/fPLN2qeLInKzP1gZD9BwcFAv +k0Y8Whx0yRWt+L0EkVCC/4vGNZgQBEsl5vOlFlW9BW6VxZEMDfCqswLo/DZKVZost2v 4hrO0zz3GIC95G9eb/3ubuO0LoxrrYlwSDTirSk7ZwcTBcB3/nbQSpt9rkSsfFWdGFbF FTbw8UORFaxxunuUqTOlOUAh79Cq3tuhmYKFuLfRfmYQQtoK+kmPOB1Kt7QL2fDfM0GI WyLkb/T8KXOE8JkxjmPxmNzH2vEKy7Z6Mth5iRCcuB3aIBep4eUqWYJdix5+HTzsm3S6 I6hA== 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=4M+3Ec5aqFaKvdFzu+ibwr6LsVG/WUQeKXGIcBKEyq8=; b=ajbjfoe+1myo9BK56ltmhkGX1ibtvJ/QqBNmhSTvDQTKrHevYAWetRkgzD+gpgro2D jpdm4kjiEKcZxhUXgIOCgG4XFoaBepL7fuAfI2Vtsa5XCsf4NyWhZlizAPF2386mRGCq p1kmgNBPo0JFj8BfkdlDQrfLWUalmHN3uODXd6oNVU+On28cigLqxbUlPyrR9bYsbwG9 ZFpegp8AJx/VTHERxSEfhqAq5K3twM4MTcD8OfaleCEuLKdPPC7eeydhpURrQnLsX4GY pIvspW/0qXbZ9MDwYBJk07vW69X3G471IXQ87z0M6Fjzt5WSPuVS7oUggHqbiAwmtcVu DkwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bootlin.com header.s=gm1 header.b=kHdbmHKE; 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 w23-20020a63c117000000b0050bebc3e35bsi3582644pgf.766.2023.04.07.06.48.06; Fri, 07 Apr 2023 06:48:26 -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=kHdbmHKE; 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 S240807AbjDGNkC (ORCPT <rfc822;a1648639935@gmail.com> + 99 others); Fri, 7 Apr 2023 09:40:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S240836AbjDGNjo (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Fri, 7 Apr 2023 09:39:44 -0400 Received: from relay8-d.mail.gandi.net (relay8-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::228]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B21193EA; Fri, 7 Apr 2023 06:39:31 -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 AA3A91BF203; Fri, 7 Apr 2023 13:39:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bootlin.com; s=gm1; t=1680874770; 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=4M+3Ec5aqFaKvdFzu+ibwr6LsVG/WUQeKXGIcBKEyq8=; b=kHdbmHKEkLdndA6YmBETpnHiHmKKpkrKJc9fAUc8/zymm/vY9DPOUmiKBJykm3Y4rkn+a8 f4aWaINB6ofjnEUP2sY05C9RAV//KRZb0eM885AoBY7bTuYiiefBjctz3uCnlY86E6kipv mOIYVaRLXcecCuuQ1BuEMThuVsKbLe9bqalUSgxH5ZIAhKa2bPiOpVbYJ21q/JmwQTJZbS kjtDBk6d0+tjoyisxSCkOiZ959stNGEEL+affK9BbT0qKliWX8hTPOWhU5/SBo35GguEuq qQWRdD+EEu1MQJHKExQS/HguwjjEadbLG8tzGZG97p9wDUQ3xVgY2m8tGRsl5g== 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 v5 04/20] staging: media: tegra-video: document tegra_channel_get_remote_source_subdev Date: Fri, 7 Apr 2023 15:38:36 +0200 Message-Id: <20230407133852.2850145-5-luca.ceresoli@bootlin.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230407133852.2850145-1-luca.ceresoli@bootlin.com> References: <20230407133852.2850145-1-luca.ceresoli@bootlin.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_LOW,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1762525505375870789?= X-GMAIL-MSGID: =?utf-8?q?1762525505375870789?= |
Series |
Add Tegra20 parallel video input capture
|
|
Commit Message
Luca Ceresoli
April 7, 2023, 1:38 p.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 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) {