diff options
author | Mike Isely <isely@pobox.com> | 2008-04-22 13:45:37 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2008-04-24 13:07:46 -0400 |
commit | 895c3e8bfec9738251da9a2a8592dab15ec3a1bd (patch) | |
tree | 60934322546c6230d2a39e18e4e4363de132411b /drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |
parent | 29bf5b1d754a9a64f68c37938e1a0b7b63b724ba (diff) |
V4L/DVB (7298): pvrusb2: Account for dtv choice (a bit) in v4l2 implementation
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c index 8f0587ebd4bd..5e2292726e94 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |||
@@ -267,6 +267,7 @@ static int pvr2_v4l2_do_ioctl(struct inode *inode, struct file *file, | |||
267 | ret = 0; | 267 | ret = 0; |
268 | switch (vi->index) { | 268 | switch (vi->index) { |
269 | case PVR2_CVAL_INPUT_TV: | 269 | case PVR2_CVAL_INPUT_TV: |
270 | case PVR2_CVAL_INPUT_DTV: | ||
270 | case PVR2_CVAL_INPUT_RADIO: | 271 | case PVR2_CVAL_INPUT_RADIO: |
271 | tmp.type = V4L2_INPUT_TYPE_TUNER; | 272 | tmp.type = V4L2_INPUT_TYPE_TUNER; |
272 | break; | 273 | break; |