aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/ivtv
diff options
context:
space:
mode:
authorHans Verkuil <hverkuil@xs4all.nl>2010-05-02 10:11:40 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-05-19 11:58:58 -0400
commit3e56b0f09c5b6ac277322c8bbd04b65094197106 (patch)
tree0085ba45c4a92a16047b5fb27a335aa4fceefe36 /drivers/media/video/ivtv
parent4d6c871ac338a8d804a1139dade2a463614d3e34 (diff)
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/video/ivtv')
-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,
1850 case VIDIOC_S_AUDOUT: 1850 case VIDIOC_S_AUDOUT:
1851 case VIDIOC_S_EXT_CTRLS: 1851 case VIDIOC_S_EXT_CTRLS:
1852 case VIDIOC_S_FBUF: 1852 case VIDIOC_S_FBUF:
1853 case VIDIOC_S_PRIORITY:
1853 case VIDIOC_OVERLAY: 1854 case VIDIOC_OVERLAY:
1854 ret = v4l2_prio_check(&itv->prio, id->prio); 1855 ret = v4l2_prio_check(&itv->prio, id->prio);
1855 if (ret) 1856 if (ret)