V4L/DVB (13150): uvcvideo: Don't acquire privileges in VIDIOC_TRY_FMT
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 2 Sep 2009 06:09:02 +0000 (03:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:35 +0000 (18:40 -0200)
commit4e7387858f35eace117493e4ad69d3b7ccc84a41
tree9ad5c0e05c13c208485bbe89a61c4967f9e8fda1
parent663a419203cc9690d16502be509ffb8acc40552a
V4L/DVB (13150): uvcvideo: Don't acquire privileges in VIDIOC_TRY_FMT

The VIDIOC_TRY_FMT ioctl doesn't interfere with video streaming and thus
should succeed on an unprivileged file handle.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/uvc/uvc_v4l2.c