]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (9162): ivtv: fix raw/sliced VBI mixup
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 4 Oct 2008 11:05:30 +0000 (08:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 13 Oct 2008 11:08:01 +0000 (09:08 -0200)
commita8b864354e060dda1000e62d1fea7c1274581caf
tree7b1e70dc49c1605a7cdad6b460ea9f602a24b161
parent3c7b933bea2ee380d54b57b99dee42b1726a4eaa
V4L/DVB (9162): ivtv: fix raw/sliced VBI mixup

The service_set field was used in saa7115 and cx25840 to determine
whether raw or sliced VBI was desired. This is incorrect since it is
perfectly valid to select sliced VBI with a service_set of 0.

Instead these drivers should checked on VIDIOC_S_FMT whether the type
field matches the raw or sliced VBI type.

Updated ivtv accordingly.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx25840/cx25840-vbi.c
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/ivtv/ivtv-driver.h
drivers/media/video/ivtv/ivtv-fileops.c
drivers/media/video/ivtv/ivtv-ioctl.c
drivers/media/video/ivtv/ivtv-streams.c
drivers/media/video/ivtv/ivtv-vbi.c
drivers/media/video/saa7115.c