diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2011-03-11 17:00:56 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-22 15:37:59 -0400 |
commit | 99cd47bc733436da282016e629eef6baa0f6047c (patch) | |
tree | 7f210a24e38d65a1a44a2405c7fa59af9460a062 /drivers/media/video/pwc/pwc-v4l.c | |
parent | dfddb2441f39e8c0254504516be35b854addf6fa (diff) |
[media] v4l2-ioctl: add priority handling support
Drivers that use v4l2_fh can now use the core framework support of g/s_priority.
Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pwc/pwc-v4l.c')
-rw-r--r-- | drivers/media/video/pwc/pwc-v4l.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/media/video/pwc/pwc-v4l.c b/drivers/media/video/pwc/pwc-v4l.c index 68a5313a52d5..aa87e462a958 100644 --- a/drivers/media/video/pwc/pwc-v4l.c +++ b/drivers/media/video/pwc/pwc-v4l.c | |||
@@ -860,7 +860,8 @@ static int pwc_enum_frameintervals(struct file *file, void *fh, | |||
860 | return 0; | 860 | return 0; |
861 | } | 861 | } |
862 | 862 | ||
863 | static long pwc_default(struct file *file, void *fh, int cmd, void *arg) | 863 | static long pwc_default(struct file *file, void *fh, bool valid_prio, |
864 | int cmd, void *arg) | ||
864 | { | 865 | { |
865 | struct pwc_device *pdev = video_drvdata(file); | 866 | struct pwc_device *pdev = video_drvdata(file); |
866 | 867 | ||