V4L/DVB (13151): uvcvideo: Dismiss privileges when freeing video buffers
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Wed, 2 Sep 2009 06:12:26 +0000 (03:12 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 5 Dec 2009 20:40:35 +0000 (18:40 -0200)
commit1a969d9863a0c8890eb799ec710dda9701f10483
tree84174637b4f3e57fe5d417e2500b269b581f44ef
parent4e7387858f35eace117493e4ad69d3b7ccc84a41
V4L/DVB (13151): uvcvideo: Dismiss privileges when freeing video buffers

Dismiss privileges on the file handle when calling VIDIOC_REQBUFS with a
buffer count of 0. This allows applications to release the streaming
permissions on the file handle without closing it.

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