V4L/DVB (12424): soc-camera: fix recursive locking in .buf_queue()
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 5 Aug 2009 23:06:31 +0000 (20:06 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 13 Aug 2009 23:39:11 +0000 (20:39 -0300)
commit2dd54a54c19d0e5b50f4e1c591653772ead9d4a1
tree3ab873ae09a4cc3f56906dbb4712e1331a078519
parent7d2e2e35fb50f381c9398e481aac1e1729765ae3
V4L/DVB (12424): soc-camera: fix recursive locking in .buf_queue()

The .buf_queue() V4L2 driver method is called under
spinlock_irqsave(q->irqlock,...), don't take the lock again inside the
function.

Reported-by: Antonio Ospite <ospite@studenti.unina.it>
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/mx1_camera.c
drivers/media/video/mx3_camera.c
drivers/media/video/pxa_camera.c
drivers/media/video/sh_mobile_ceu_camera.c