Skip to content

Commit c9596e8

Browse files
Niklas Söderlundhverkuil
authored andcommitted
media: v4l2-subdev: Remove g_pixelaspect operation
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>
1 parent 7dd0d6d commit c9596e8

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

include/media/v4l2-subdev.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -460,8 +460,6 @@ enum v4l2_subdev_pre_streamon_flags {
460460
* but use the v4l2_subdev_enable_streams() and
461461
* v4l2_subdev_disable_streams() helpers.
462462
*
463-
* @g_pixelaspect: callback to return the pixelaspect ratio.
464-
*
465463
* @s_rx_buffer: set a host allocated memory buffer for the subdev. The subdev
466464
* can adjust @size to a lower value and must not write more data to the
467465
* buffer starting at @data than the original value of @size.
@@ -491,7 +489,6 @@ struct v4l2_subdev_video_ops {
491489
int (*g_tvnorms_output)(struct v4l2_subdev *sd, v4l2_std_id *std);
492490
int (*g_input_status)(struct v4l2_subdev *sd, u32 *status);
493491
int (*s_stream)(struct v4l2_subdev *sd, int enable);
494-
int (*g_pixelaspect)(struct v4l2_subdev *sd, struct v4l2_fract *aspect);
495492
int (*s_rx_buffer)(struct v4l2_subdev *sd, void *buf,
496493
unsigned int *size);
497494
int (*pre_streamon)(struct v4l2_subdev *sd, u32 flags);

0 commit comments

Comments
 (0)