]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
[media] cx88: move width, height and field to core struct
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 20 Sep 2014 12:23:44 +0000 (09:23 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 3 Nov 2014 10:32:36 +0000 (08:32 -0200)
commitccd6f1d488e7e49ca90d4255cb3f8a2f61951e55
tree7bca7160649dd812de9579ad383c66e694e76774
parentd386259f8ee95d260ecb99aad3afc434819491ec
[media] cx88: move width, height and field to core struct

The width, height and field values are core fields since both vbi, video
and blackbird use the same video input.

Move those fields to the correct struct.

Also fix the field checks in the try_fmt functions: add V4L2_FIELD_SEQ_BT/TB
support and map incorrect field values to a correct field value instead of
returning an error.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cx88/cx88-blackbird.c
drivers/media/pci/cx88/cx88-cards.c
drivers/media/pci/cx88/cx88-dvb.c
drivers/media/pci/cx88/cx88-mpeg.c
drivers/media/pci/cx88/cx88-video.c
drivers/media/pci/cx88/cx88.h