summaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-05-02 16:11:40 +0200
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 17:58:58 +0200
commit3e56b0f09c5b6ac277322c8bbd04b65094197106 (patch)
tree0085ba45c4a92a16047b5fb27a335aa4fceefe36 /drivers/media
parentV4L/DVB: usbvision: add delay before detecting the saa711x (diff)
downloadlinux-3e56b0f09c5b6ac277322c8bbd04b65094197106.tar.xz
linux-3e56b0f09c5b6ac277322c8bbd04b65094197106.zip
V4L/DVB: ivtv: fix VIDIOC_S_PRIORITY handling
VIDIOC_S_PRIORITY is also part of the ioctls that need to check the access priority. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/ivtv/ivtv-ioctl.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/media/video/ivtv/ivtv-ioctl.c b/drivers/media/video/ivtv/ivtv-ioctl.c
index 6573764f506d..fa9f0d958f96 100644
--- a/drivers/media/video/ivtv/ivtv-ioctl.c
+++ b/drivers/media/video/ivtv/ivtv-ioctl.c
@@ -1850,6 +1850,7 @@ static long ivtv_serialized_ioctl(struct ivtv *itv, struct file *filp,
case VIDIOC_S_AUDOUT:
case VIDIOC_S_EXT_CTRLS:
case VIDIOC_S_FBUF:
+ case VIDIOC_S_PRIORITY:
case VIDIOC_OVERLAY:
ret = v4l2_prio_check(&itv->prio, id->prio);
if (ret)