[media] tm6000: fix querycap and input/tuner compliance issues
authorHans Verkuil <hans.verkuil@cisco.com>
Tue, 11 Sep 2012 10:35:30 +0000 (07:35 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 5 Feb 2013 20:30:12 +0000 (18:30 -0200)
commit2c2a053626cb712d6006cb10f2760a6018a65631
tree60cd7384da0e95c26ab43d352ee4e155dbeb9f56
parented986d1fee77bbbb62291a1db1c7edbb00d99515
[media] tm6000: fix querycap and input/tuner compliance issues

- add device_caps support
- fix bus_info
- fix numerous tuner-related problems due to incorrect tests
  and setting v4l2_tuner fields to wrong values.
- remove (audio) input support from the radio: it doesn't belong
  there. This also fixed a nasty issue where opening the radio
  would set dev->input to 5 for no good reason. This was never
  set back to a valid TV input after closing the radio device,
  thus leaving it at 5 which is out of bounds of the vinput
  card array.

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