1 From 316ebebe8edf42f264a0b2225adc5baa46451415 Mon Sep 17 00:00:00 2001
2 From: Jacopo Mondi <jacopo+renesas@jmondi.org>
3 Date: Tue, 16 Jun 2020 16:12:40 +0200
4 Subject: [PATCH]_mbus_config video
7 Upstream https://patchwork.linuxtv.org/patch/64670/
9 With all sensor and platform drivers now converted to use the new
10 get_mbus_config and set_mbus_config pad operations, remove the
11 deprecated video operations g_mbus_config and s_mbus_config.
13 Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
15 include/media/v4l2-subdev.h | 10 ----------
16 1 file changed, 10 deletions(-)
18 --- a/include/media/v4l2-subdev.h
19 +++ b/include/media/v4l2-subdev.h
20 @@ -402,12 +402,6 @@ struct v4l2_mbus_frame_desc {
22 * @query_dv_timings: callback for VIDIOC_QUERY_DV_TIMINGS() ioctl handler code.
24 - * @g_mbus_config: get supported mediabus configurations
26 - * @s_mbus_config: set a certain mediabus configuration. This operation is added
27 - * for compatibility with soc-camera drivers and should not be used by new
30 * @s_rx_buffer: set a host allocated memory buffer for the subdev. The subdev
31 * can adjust @size to a lower value and must not write more data to the
32 * buffer starting at @data than the original value of @size.
33 @@ -435,10 +429,6 @@ struct v4l2_subdev_video_ops {
34 struct v4l2_dv_timings *timings);
35 int (*query_dv_timings)(struct v4l2_subdev *sd,
36 struct v4l2_dv_timings *timings);
37 - int (*g_mbus_config)(struct v4l2_subdev *sd,
38 - struct v4l2_mbus_config *cfg);
39 - int (*s_mbus_config)(struct v4l2_subdev *sd,
40 - const struct v4l2_mbus_config *cfg);
41 int (*s_rx_buffer)(struct v4l2_subdev *sd, void *buf,