V4L/DVB (7281): v4l: Deadlock in videobuf-core for DQBUF waiting on QBUF
authorBrandon Philips <brandon@ifup.org>
Tue, 22 Apr 2008 17:45:32 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Thu, 24 Apr 2008 17:07:46 +0000 (14:07 -0300)
commite43d76b40d3fda146b9cd1192c5504a257603b70
tree8e32eb7f19c529f3cf0771072aa29717b791734c
parent9dc4e48fbea5412127ce2eb30d688c4fc55f5565
V4L/DVB (7281): v4l: Deadlock in videobuf-core for DQBUF waiting on QBUF

Avoid a deadlock where DQBUF is holding the vb_lock while waiting on a QBUF
which also needs the vb_lock.  Reported by Hans Verkuil <hverkuil@xs4all.nl>.

Signed-off-by: Brandon Philips <bphilips@suse.de>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/videobuf-core.c