[media] saa7146: fix querycap, vbi/video separation and g/s_register
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 1 May 2012 15:57:57 +0000 (12:57 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 May 2012 18:00:49 +0000 (15:00 -0300)
commitab49ae0f201f1e7e07250d011fffde8ed2530175
tree0fb1a572c621f44b3974c994b65e4a7ba9902201
parent537fa492e084af58d16899f8d0f3f3516a4fbe7c
[media] saa7146: fix querycap, vbi/video separation and g/s_register

The querycap ioctl returned an incorrect version number and incorrect
capabilities (mixing up vbi and video caps).

The reason for that was that video nodes could do vbi activities: that
should be separated between the vbi and video nodes.

There were also a few minor problems with dbg_g/s_register that have
been resolved. The mxb/saa7146 driver now passes the v4l2_compliance tests.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/common/saa7146_fops.c
drivers/media/common/saa7146_video.c
drivers/media/dvb/ttpci/av7110_v4l.c
drivers/media/dvb/ttpci/budget-av.c
drivers/media/video/hexium_gemini.c
drivers/media/video/hexium_orion.c
drivers/media/video/mxb.c
include/media/saa7146.h
include/media/saa7146_vv.h