armbian_build/patch/kernel/archive/sunxi-5.16/patches.megous/media-sun6i-csi-Add-some-dev-notes.patch
The-going f80117f21c
Recycling of megous v5.16.4 patches (#3449)
* Recycling of megous v5.16.4 patches

The patches were sorted as far as possible. Some patches are renamed
according to their place of application. The length of the patch name
has been changed to improve readability using
the `git format-patch --filename-max-length=75` method.

The folder containing the patches will have the name `patches.name`
and the corresponding file `series.name` for the convenience
of processing and moving them upstream. But the control file remains
`series.conf`.


Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Add a series of armbian patches for 5.16

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>

* Remove patches whose fixes are already in the kernel

Signed-off-by: The-going <48602507+The-going@users.noreply.github.com>
2022-02-02 11:03:44 +01:00

27 lines
960 B
Diff

From 1bff2330a2ded33fcb470a71ff8e0cfbf3427e89 Mon Sep 17 00:00:00 2001
From: Ondrej Jirman <megous@megous.com>
Date: Sun, 26 Jan 2020 00:40:55 +0100
Subject: [PATCH 028/446] 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 de8cfc3c2..5ce5de99e 100644
--- a/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c
+++ b/drivers/media/platform/sunxi/sun6i-csi/sun6i_video.c
@@ -420,6 +420,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.31.1