Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3e56b0f0 authored by Hans Verkuil's avatar Hans Verkuil Committed by Mauro Carvalho Chehab
Browse files

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: default avatarHans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 4d6c871a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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)