summaryrefslogtreecommitdiff
path: root/drivers/media/usb/usbvision/usbvision.h
diff options
context:
space:
mode:
authorHans Verkuil <hans.verkuil@cisco.com>2015-07-20 15:59:33 +0300
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2015-08-11 12:52:31 +0300
commit64d416ec965360734beb295fe43c24f36ab465ca (patch)
tree09219439dec28580aa8bec7fb848a67bf90daa25 /drivers/media/usb/usbvision/usbvision.h
parentcbe12cc66e9c03ebd62a5937aada4240924dbe75 (diff)
downloadlinux-64d416ec965360734beb295fe43c24f36ab465ca.tar.xz
[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>
Diffstat (limited to 'drivers/media/usb/usbvision/usbvision.h')
-rw-r--r--drivers/media/usb/usbvision/usbvision.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/usb/usbvision/usbvision.h b/drivers/media/usb/usbvision/usbvision.h
index 4dbb4218b771..4f2e4fde38f2 100644
--- a/drivers/media/usb/usbvision/usbvision.h
+++ b/drivers/media/usb/usbvision/usbvision.h
@@ -378,7 +378,8 @@ struct usb_usbvision {
int bridge_type; /* NT1003, NT1004, NT1005 */
int radio;
int video_inputs; /* # of inputs */
- unsigned long freq;
+ unsigned long radio_freq;
+ unsigned long tv_freq;
int audio_mute;
int audio_channel;
int isoc_mode; /* format of video data for the usb isoc-transfer */