[media] v4l2: replace video op g_mbus_fmt by pad op get_fmt
The g_mbus_fmt video op is a duplicate of the pad op. Replace all uses by the get_fmt pad op and remove the video op. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Prabhakar Lad <prabhakar.csengg@gmail.com> Cc: Kamil Debski <k.debski@samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
ebcff5fce6
commit
da298c6d98
@@ -293,8 +293,6 @@ struct v4l2_mbus_frame_desc {
|
||||
|
||||
g_dv_timings(): Get custom dv timings in the sub device.
|
||||
|
||||
g_mbus_fmt: get the current pixel format, provided by a video data source
|
||||
|
||||
try_mbus_fmt: try to set a pixel format on a video data source
|
||||
|
||||
s_mbus_fmt: set a pixel format on a video data source
|
||||
@@ -336,8 +334,6 @@ struct v4l2_subdev_video_ops {
|
||||
struct v4l2_dv_timings *timings);
|
||||
int (*query_dv_timings)(struct v4l2_subdev *sd,
|
||||
struct v4l2_dv_timings *timings);
|
||||
int (*g_mbus_fmt)(struct v4l2_subdev *sd,
|
||||
struct v4l2_mbus_framefmt *fmt);
|
||||
int (*try_mbus_fmt)(struct v4l2_subdev *sd,
|
||||
struct v4l2_mbus_framefmt *fmt);
|
||||
int (*s_mbus_fmt)(struct v4l2_subdev *sd,
|
||||
|
||||
Reference in New Issue
Block a user