]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
[media] saa7164: fix format ioctls
authorHans Verkuil <hans.verkuil@cisco.com>
Fri, 28 Aug 2015 11:48:30 +0000 (08:48 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Thu, 1 Oct 2015 11:24:40 +0000 (08:24 -0300)
commit031d229772745044faf86f6bee0c9d0f151e3bd4
tree65f6876cbcfa3d773d0341b79451a1a3d42f149c
parent245b5ae95f6c58a49f5a7230041f9fbfbaabfc99
[media] saa7164: fix format ioctls

Fix various v4l2-compliance issues in the formatting ioctls:

- the vbi device implemented video format ioctls which make no senses
  for a vbi device, remove them.
- remove the unused ts_packet_size and ts_packet_count fields.
- fill in colorspace and field.
- fill in sizeimage with a default value.
- for the video node the get, set and try format functions all do the
  same thing, so combine into a single function.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/saa7164/saa7164-encoder.c
drivers/media/pci/saa7164/saa7164-vbi.c
drivers/media/pci/saa7164/saa7164.h