From: Luca Ceresoli Date: Tue, 18 Apr 2023 08:00:38 +0000 (+0200) Subject: staging: media: tegra-video: document tegra_channel_get_remote_source_subdev X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2f229d40490534e76ab06c4b3a5627ae08620997;p=linux.git staging: media: tegra-video: document tegra_channel_get_remote_source_subdev Clarify what this function does. Signed-off-by: Luca Ceresoli Reviewed-by: Dmitry Osipenko Signed-off-by: Hans Verkuil --- diff --git a/drivers/staging/media/tegra-video/vi.c b/drivers/staging/media/tegra-video/vi.c index 2f1aff7e87170..0b2d6dcb44b74 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) {