1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter.git synced 2025-02-13 11:51:54 +00:00
openmptcprouter/6.1/target/linux/bcm27xx/patches-6.1/950-0546-media-bcm2835-v4l2-codec-Enable-selection-ioctl-for-.patch

34 lines
1.1 KiB
Diff
Raw Normal View History

2023-11-17 16:31:36 +00:00
From f444c1b35b74ba14ce7297a98b60726539b98823 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] 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(-)
--- 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 fil
}
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 fil
}
break;
case ISP:
- break;
case DEINTERLACE:
if (s->type == V4L2_BUF_TYPE_VIDEO_CAPTURE) {
switch (s->target) {