summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
diff options
context:
space:
mode:
authorMike Isely <isely@pobox.com>2008-02-03 15:09:21 -0600
committerMike Isely <isely@pobox.com>2008-02-03 15:09:21 -0600
commit412c4adac120772260ac6e4698b5deae93c83d49 (patch)
tree403264ee89d007295451b6c8ca6862bc12cd08a3 /linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
parent485a24a1b0b1008a111335574af77eb34d766b1a (diff)
downloadmediapointer-dvb-s2-412c4adac120772260ac6e4698b5deae93c83d49.tar.gz
mediapointer-dvb-s2-412c4adac120772260ac6e4698b5deae93c83d49.tar.bz2
pvrusb2: Account for dtv choice (a bit) in v4l2 implementation
From: Mike Isely <isely@pobox.com> The v4l2 implementation in pvru2b2 must produce a sane answer when asked, when the input choice is set to dtv. Signed-off-by: Mike Isely <isely@pobox.com>
Diffstat (limited to 'linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r--linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
index 69f2a7d32..922b567c0 100644
--- a/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
+++ b/linux/drivers/media/video/pvrusb2/pvrusb2-v4l2.c
@@ -268,6 +268,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file,
ret = 0;
switch (vi->index) {
case PVR2_CVAL_INPUT_TV:
+ case PVR2_CVAL_INPUT_DTV:
case PVR2_CVAL_INPUT_RADIO:
tmp.type = V4L2_INPUT_TYPE_TUNER;
break;