[media] sliced vbi: subdevs shouldn't clear the full v4l2_sliced_vbi_format struct
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 5 Sep 2012 13:38:10 +0000 (10:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 20:12:51 +0000 (17:12 -0300)
commit30634e8e41d413b0084ba29f843361a1fd9fbdce
tree0712b67462e242c926502ff697beed75b6f078d6
parent34a6b7d093d8fe738ada191b36648d00bc18b7eb
[media] sliced vbi: subdevs shouldn't clear the full v4l2_sliced_vbi_format struct

Various subdevs cleared the full v4l2_sliced_vbi_format struct, when
only the service_set/lines fields should have been cleared.
Due to this the io_size field was wrongly cleared to 0, causing a
v4l2-compliance error.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/i2c/cx25840/cx25840-vbi.c
drivers/media/i2c/saa7115.c
drivers/media/i2c/saa7127.c
drivers/media/i2c/tvp5150.c
drivers/media/pci/cx18/cx18-av-vbi.c
drivers/media/pci/cx18/cx18-ioctl.c
drivers/media/pci/ivtv/ivtv-ioctl.c