[media] usbvision: frequency fixes
authorHans Verkuil <hans.verkuil@cisco.com>
Mon, 20 Jul 2015 12:59:33 +0000 (09:59 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 11 Aug 2015 09:52:31 +0000 (06:52 -0300)
commit64d416ec965360734beb295fe43c24f36ab465ca
tree09219439dec28580aa8bec7fb848a67bf90daa25
parentcbe12cc66e9c03ebd62a5937aada4240924dbe75
[media] usbvision: frequency fixes

- setup initial radio and tv frequencies.
- set/get the correct frequency (radio vs tv).
- disable tuner/freq ioctls if there is no tuner.
- fix some tuner index checks.

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