[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>
Showing
- drivers/media/pci/saa7164/saa7164-encoder.c 19 additions, 49 deletionsdrivers/media/pci/saa7164/saa7164-encoder.c
- drivers/media/pci/saa7164/saa7164-vbi.c 1 addition, 74 deletionsdrivers/media/pci/saa7164/saa7164-vbi.c
- drivers/media/pci/saa7164/saa7164.h 0 additions, 2 deletionsdrivers/media/pci/saa7164/saa7164.h
Loading
Please register or sign in to comment