]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
media: v4l2-subdev: Remove g_pixelaspect operation
authorNiklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Sat, 5 Jul 2025 08:37:41 +0000 (10:37 +0200)
committerHans Verkuil <hverkuil@xs4all.nl>
Thu, 10 Jul 2025 11:44:58 +0000 (13:44 +0200)
There are no consumers or implementations left in tree for the subdevice
operation g_pixelaspect, delete it.

Signed-off-by: Niklas Söderlund <niklas.soderlund+renesas@ragnatech.se>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20250705083741.77517-4-niklas.soderlund+renesas@ragnatech.se
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
include/media/v4l2-subdev.h

index 57f2bcb4eb16c3371d98683e4aa72b85bbe932d4..5dcf4065708f32e7d3b5da003771810d5f7973b8 100644 (file)
@@ -460,8 +460,6 @@ enum v4l2_subdev_pre_streamon_flags {
  *     but use the v4l2_subdev_enable_streams() and
  *     v4l2_subdev_disable_streams() helpers.
  *
- * @g_pixelaspect: callback to return the pixelaspect ratio.
- *
  * @s_rx_buffer: set a host allocated memory buffer for the subdev. The subdev
  *     can adjust @size to a lower value and must not write more data to the
  *     buffer starting at @data than the original value of @size.
@@ -491,7 +489,6 @@ struct v4l2_subdev_video_ops {
        int (*g_tvnorms_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
        int (*g_input_status)(struct v4l2_subdev *sd, u32 *status);
        int (*s_stream)(struct v4l2_subdev *sd, int enable);
-       int (*g_pixelaspect)(struct v4l2_subdev *sd, struct v4l2_fract *aspect);
        int (*s_rx_buffer)(struct v4l2_subdev *sd, void *buf,
                           unsigned int *size);
        int (*pre_streamon)(struct v4l2_subdev *sd, u32 flags);