]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commit
[media] bttv: fix field handling inside TRY_FMT
authorHans Verkuil <hans.verkuil@cisco.com>
Wed, 6 Feb 2013 15:03:30 +0000 (12:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Mar 2013 17:07:05 +0000 (14:07 -0300)
commitee70e3d8039f16137d2e7e2e1a9cf8374b01be9b
tree818f3c846c379f1eb7726d37fbee85e81ebd9265
parenta12fd70e3b32a4de5e5dc6346a0f5bdfd164ed3d
[media] bttv: fix field handling inside TRY_FMT

- don't return -EINVAL for invalid field types, handle those as if it
  was FIELD_ANY.
- the handling of FIELD_SEQ_BT/TB was wrong as well: if such field formats
  aren't supported, then fall back to FIELD_ANY instead of returning an error.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/pci/bt8xx/bttv-driver.c