mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-07 19:49:33 -04:00
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>
This commit is contained in:
committed by
Mauro Carvalho Chehab
parent
4d6c871ac3
commit
3e56b0f09c
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user