[media] ivtv: fix format enumeration: don't show invalid formats
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 1 Oct 2012 10:22:06 +0000 (07:22 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 1 Oct 2012 20:24:19 +0000 (17:24 -0300)
commitbfd063cebb75d3305089e9eeedbd25469d3dc1e6
tree80b5397e1634de6f0c224b3484921b954c71c74b
parent5f9c82c021cca74ad9a2dd48353c01bad567815e
[media] ivtv: fix format enumeration: don't show invalid formats

Depending on the device node only the compressed or the uncompressed format
should be shown, not both.

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