Skip to content

Commit 0179845

Browse files
Hans Verkuilmchehab
authored andcommitted
media: common: saa7146: add support for missing .vidioc_try_fmt_vbi_cap
Support for VIDIOC_TRY_FMT for the vbi device was missing. Add it. This fixes a V4L2 compliance issue. Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
1 parent 1ba2615 commit 0179845

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/media/common/saa7146/saa7146_video.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -515,6 +515,7 @@ const struct v4l2_ioctl_ops saa7146_video_ioctl_ops = {
515515
const struct v4l2_ioctl_ops saa7146_vbi_ioctl_ops = {
516516
.vidioc_querycap = vidioc_querycap,
517517
.vidioc_g_fmt_vbi_cap = vidioc_g_fmt_vbi_cap,
518+
.vidioc_try_fmt_vbi_cap = vidioc_g_fmt_vbi_cap,
518519
.vidioc_s_fmt_vbi_cap = vidioc_g_fmt_vbi_cap,
519520
.vidioc_g_std = vidioc_g_std,
520521
.vidioc_s_std = vidioc_s_std,

0 commit comments

Comments
 (0)