kernel: bump 5.4 to 5.4.133
[openwrt/openwrt.git] / target / linux / bcm27xx / patches-5.4 / 950-0799-media-v4l2-subdev-Remove-s-g-_mbus_config-video-ops.patch
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
5 ops
6
7 Upstream https://patchwork.linuxtv.org/patch/64670/
8
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.
12
13 Signed-off-by: Jacopo Mondi <jacopo+renesas@jmondi.org>
14 ---
15 include/media/v4l2-subdev.h | 10 ----------
16 1 file changed, 10 deletions(-)
17
18 --- a/include/media/v4l2-subdev.h
19 +++ b/include/media/v4l2-subdev.h
20 @@ -406,12 +406,6 @@ struct v4l2_mbus_frame_desc {
21 *
22 * @query_dv_timings: callback for VIDIOC_QUERY_DV_TIMINGS() ioctl handler code.
23 *
24 - * @g_mbus_config: get supported mediabus configurations
25 - *
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
28 - * software.
29 - *
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 @@ -439,10 +433,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,
42 unsigned int *size);
43 };