]> git.baikalelectronics.ru Git - kernel.git/commit
[media] v4l2-mem2mem: use CAPTURE queue lock
authorJohn Sheu <sheu@chromium.org>
Wed, 6 Feb 2013 23:03:00 +0000 (20:03 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 18 Mar 2013 23:47:36 +0000 (20:47 -0300)
commit8f526bd3b8744c80d733c14f46aa1e7197913528
treef2b6977420ac94267ebe1594acd69e04337e585f
parent17c2e9c52a2786baa1204bb8ae4c8dc27a4fb171
[media] v4l2-mem2mem: use CAPTURE queue lock

In v4l2_m2m_try_schedule(), use the CAPTURE queue lock when accessing
the CAPTURE queue, instead of relying on just holding the OUTPUT queue
lock.

Signed-off-by: John Sheu <sheu@google.com>
Acked-by: Pawel Osciak <pawel@osciak.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/v4l2-core/v4l2-mem2mem.c