Skip to content

Commit b86103e

Browse files
Jacopo Mondipopcornmix
authored andcommitted
media: v4l2-subdev: Remove [s|g]_mbus_config video ops
Upstream https://patchwork.linuxtv.org/patch/64670/ With all sensor and platform drivers now converted to use the new get_mbus_config and set_mbus_config pad operations, remove the deprecated video operations g_mbus_config and s_mbus_config. Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
1 parent c98ba24 commit b86103e

1 file changed

Lines changed: 0 additions & 10 deletions

File tree

‎include/media/v4l2-subdev.h‎

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -402,12 +402,6 @@ struct v4l2_mbus_frame_desc {
402402
*
403403
* @query_dv_timings: callback for VIDIOC_QUERY_DV_TIMINGS() ioctl handler code.
404404
*
405-
* @g_mbus_config: get supported mediabus configurations
406-
*
407-
* @s_mbus_config: set a certain mediabus configuration. This operation is added
408-
* for compatibility with soc-camera drivers and should not be used by new
409-
* software.
410-
*
411405
* @s_rx_buffer: set a host allocated memory buffer for the subdev. The subdev
412406
* can adjust @size to a lower value and must not write more data to the
413407
* buffer starting at @data than the original value of @size.
@@ -435,10 +429,6 @@ struct v4l2_subdev_video_ops {
435429
struct v4l2_dv_timings *timings);
436430
int (*query_dv_timings)(struct v4l2_subdev *sd,
437431
struct v4l2_dv_timings *timings);
438-
int (*g_mbus_config)(struct v4l2_subdev *sd,
439-
struct v4l2_mbus_config *cfg);
440-
int (*s_mbus_config)(struct v4l2_subdev *sd,
441-
const struct v4l2_mbus_config *cfg);
442432
int (*s_rx_buffer)(struct v4l2_subdev *sd, void *buf,
443433
unsigned int *size);
444434
};

0 commit comments

Comments
 (0)