From: Hans Verkuil Date: Sun, 6 May 2012 12:28:27 +0000 (-0300) Subject: [media] gspca: Switch to V4L2 core locking, except for the buffer queuing ioctls X-Git-Tag: v3.5-rc1~104^2~262 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a3d6e8cc0e6ddc8b3cfdeb3c979f07ed1aa528b3;p=pandora-kernel.git [media] gspca: Switch to V4L2 core locking, except for the buffer queuing ioctls Due to latency concerns the VIDIOC_QBUF, DQBUF and QUERYBUF do not use the core lock, instead they rely only on queue_lock. Changes by HdG: 1) Change release from the video_device to the v4l2_device, to avoid a race on disconnect. 2) Adjust for the V4L2 core changes which cause non ioctl fops to no longer take the V4L2 core lock. [mchehab@redhat.com: fix a merge conflict] Signed-off-by: Hans Verkuil Signed-off-by: Hans de Goede Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed