From: Hans Verkuil Date: Wed, 5 Sep 2012 15:27:19 +0000 (-0300) Subject: [media] ivtv: fix incorrect service_set for the decoder VBI capture X-Git-Tag: firefly_0821_release~3680^2~275^2~1054 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=c5c46f26591e2c77fa9b78fac202db90428762b0;p=firefly-linux-kernel-4.4.55.git [media] ivtv: fix incorrect service_set for the decoder VBI capture Found with v4l2-compliance. Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/pci/ivtv/ivtv-ioctl.c b/drivers/media/pci/ivtv/ivtv-ioctl.c index 5537c8842075..3b32518dbc02 100644 --- a/drivers/media/pci/ivtv/ivtv-ioctl.c +++ b/drivers/media/pci/ivtv/ivtv-ioctl.c @@ -398,6 +398,7 @@ static int ivtv_g_fmt_sliced_vbi_cap(struct file *file, void *fh, struct v4l2_fo vbifmt->service_set = itv->is_50hz ? V4L2_SLICED_VBI_625 : V4L2_SLICED_VBI_525; ivtv_expand_service_set(vbifmt, itv->is_50hz); + vbifmt->service_set = ivtv_get_service_set(vbifmt); return 0; }