build/patch/kernel/archive/sunxi-5.10/megous/media-sun6i-csi-Add-some-dev-notes.patch

27 lines
960 B
Diff

From 7c33d8b700ff9f8a7ce178bd8af999bfd8af4e55 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megous@megous.com>
Date: Sun, 26 Jan 2020 00:40:55 +0100
Subject: [PATCH 043/323] media: sun6i-csi: Add some dev notes
Signed-off-by: Ondrej Jirman <megous@megous.com>
---
drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c b/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c
index 24a743178..bfd671fcd 100644
--- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c
+++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c
@@ -413,6 +413,8 @@ static int vidioc_try_fmt_vid_cap(struct file *file, void *priv,
return sun6i_video_try_fmt(video, f);
}
+//XXX: allow to change cameras/media graph setup via this api?
+// probably pointless...
static int vidioc_enum_input(struct file *file, void *fh,
struct v4l2_input *inp)
{
--
2.34.0