V4L/DVB: ivtv: fix VIDIOC_S_PRIORITY handling
authorHans Verkuil <hverkuil@xs4all.nl>
Sun, 2 May 2010 14:11:40 +0000 (11:11 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 19 May 2010 15:58:58 +0000 (12:58 -0300)
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>
drivers/media/video/ivtv/ivtv-ioctl.c

index 6573764f506d6d42157f5c7b981bb72128f0f18c..fa9f0d958f96c25fd682d2a2fd65e07ac9c724b9 100644 (file)
@@ -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)