summaryrefslogtreecommitdiffstats
path: root/drivers/staging
diff options
context:
space:
mode:
authorLuca Ceresoli <luca.ceresoli@bootlin.com>2023-04-18 10:00:38 +0200
committerHans Verkuil <hverkuil-cisco@xs4all.nl>2023-05-25 13:04:47 +0200
commit2f229d40490534e76ab06c4b3a5627ae08620997 (patch)
tree69ec2e8e0600c7ed8e008f39c2a377a0e33d8c32 /drivers/staging
parentb48ece9bb81b2a0e84dfd08432c4f5cdb81f84c0 (diff)
downloadlinux-stable-2f229d40490534e76ab06c4b3a5627ae08620997.tar.gz
linux-stable-2f229d40490534e76ab06c4b3a5627ae08620997.tar.bz2
linux-stable-2f229d40490534e76ab06c4b3a5627ae08620997.zip
staging: media: tegra-video: document tegra_channel_get_remote_source_subdev
Clarify what this function does. Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Reviewed-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/media/tegra-video/vi.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/staging/media/tegra-video/vi.c b/drivers/staging/media/tegra-video/vi.c
index 2f1aff7e8717..0b2d6dcb44b7 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)
{