diff options
author | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-10-03 17:22:28 +0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-10-08 13:00:26 +0200 |
commit | 7383a47395fd5c5ae564b754ca14f6ae25dedecd (patch) | |
tree | f07fd35f04f3310dbc47299f3a73677d6a125879 /drivers/media/video/pvrusb2/pvrusb2-v4l2.c | |
parent | [media] saa7115: Fix standards detection (diff) | |
download | linux-7383a47395fd5c5ae564b754ca14f6ae25dedecd.tar.xz linux-7383a47395fd5c5ae564b754ca14f6ae25dedecd.zip |
[media] pvrusb2: implement VIDIOC_QUERYSTD
Acked-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pvrusb2/pvrusb2-v4l2.c')
-rw-r--r-- | drivers/media/video/pvrusb2/pvrusb2-v4l2.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c index e27f8ab76966..0d029da07e6b 100644 --- a/drivers/media/video/pvrusb2/pvrusb2-v4l2.c +++ b/drivers/media/video/pvrusb2/pvrusb2-v4l2.c @@ -227,6 +227,13 @@ static long pvr2_v4l2_do_ioctl(struct file *file, unsigned int cmd, void *arg) break; } + case VIDIOC_QUERYSTD: + { + v4l2_std_id *std = arg; + ret = pvr2_hdw_get_detected_std(hdw, std); + break; + } + case VIDIOC_G_STD: { int val = 0; |