mirror of
https://github.com/Ysurac/openmptcprouter.git
synced 2025-02-15 04:42:02 +00:00
39 lines
1.3 KiB
Diff
39 lines
1.3 KiB
Diff
From 282f805c79b82d438708b6f4c01e353abb050e54 Mon Sep 17 00:00:00 2001
|
|
From: John Cox <jc@kynesim.co.uk>
|
|
Date: Thu, 19 Jan 2023 16:46:32 +0000
|
|
Subject: [PATCH 570/726] media: bcm2835-v4l2-codec: Enable selection ioctl for
|
|
ISP
|
|
|
|
The ISP cases do nothing. Remove the break that separates them from the
|
|
deinterlace case so they now do the same as deinterlace. This enables
|
|
simple width & height setting, but does not enable setting left and
|
|
top coordinates.
|
|
|
|
Signed-off-by: John Cox <jc@kynesim.co.uk>
|
|
---
|
|
.../staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c | 2 --
|
|
1 file changed, 2 deletions(-)
|
|
|
|
diff --git a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
|
|
index 3fec9d2306fb..462a5f8644da 100644
|
|
--- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
|
|
+++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c
|
|
@@ -1857,7 +1857,6 @@ static int vidioc_g_selection(struct file *file, void *priv,
|
|
}
|
|
break;
|
|
case ISP:
|
|
- break;
|
|
case DEINTERLACE:
|
|
if (s->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
|
|
switch (s->target) {
|
|
@@ -1981,7 +1980,6 @@ static int vidioc_s_selection(struct file *file, void *priv,
|
|
}
|
|
break;
|
|
case ISP:
|
|
- break;
|
|
case DEINTERLACE:
|
|
if (s->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
|
|
switch (s->target) {
|
|
--
|
|
2.33.1
|
|
|