From 750da7fe519e694cc140619cdfb72aabe13a06d3 Mon Sep 17 00:00:00 2001 From: John Cox 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 --- drivers/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 cc072aa..2b15070 100644 --- a/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c +++ b/drivers/staging/vc04_services/bcm2835-codec/bcm2835-v4l2-codec.c @@ -1855,7 +1855,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) { @@ -1979,7 +1978,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.7.4