diff options
author | Hans Verkuil <hverkuil@xs4all.nl> | 2010-05-02 11:11:40 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2010-05-19 12:58:58 -0300 |
commit | 3e56b0f09c5b6ac277322c8bbd04b65094197106 (patch) | |
tree | 0085ba45c4a92a16047b5fb27a335aa4fceefe36 | |
parent | 4d6c871ac338a8d804a1139dade2a463614d3e34 (diff) | |
download | op-kernel-dev-3e56b0f09c5b6ac277322c8bbd04b65094197106.zip op-kernel-dev-3e56b0f09c5b6ac277322c8bbd04b65094197106.tar.gz |
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>
-rw-r--r-- | drivers/media/video/ivtv/ivtv-ioctl.c | 1 |
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 6573764..fa9f0d9 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) |