diff mbox series

[v4l-utils,1/2] utils: libv4l2subdev: Drop stream support for the crop API

Message ID 20240403232425.22304-2-laurent.pinchart@ideasonboard.com (mailing list archive)
State New, archived
Headers show
Series Drop stream support for the subdev crop API | expand

Commit Message

Laurent Pinchart April 3, 2024, 11:24 p.m. UTC
The subdev crop API has never had working streams support in the kernel.
The stream field of the v4l2_subdev_crop structure will be removed,
prepare for that by not setting it.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
---
 utils/media-ctl/libv4l2subdev.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Sakari Ailus April 4, 2024, 8:03 p.m. UTC | #1
On Thu, Apr 04, 2024 at 02:24:24AM +0300, Laurent Pinchart wrote:
> The subdev crop API has never had working streams support in the kernel.
> The stream field of the v4l2_subdev_crop structure will be removed,
> prepare for that by not setting it.
> 
> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>

Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
diff mbox series

Patch

diff --git a/utils/media-ctl/libv4l2subdev.c b/utils/media-ctl/libv4l2subdev.c
index c614f4a2e0fd..b9d33fb301f0 100644
--- a/utils/media-ctl/libv4l2subdev.c
+++ b/utils/media-ctl/libv4l2subdev.c
@@ -226,7 +226,6 @@  int v4l2_subdev_set_selection(struct media_entity *entity,
 
 	memset(&u.crop, 0, sizeof(u.crop));
 	u.crop.pad = pad;
-	u.crop.stream = stream;
 	u.crop.which = which;
 	u.crop.rect = *rect;