]> err.no Git - linux-2.6/commit
V4L/DVB (6342): ivtv: fix circular locking (bug 9037)
authorHans Verkuil <hverkuil@xs4all.nl>
Sat, 13 Oct 2007 08:54:48 +0000 (05:54 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 22 Oct 2007 14:01:47 +0000 (12:01 -0200)
commit18e16f9c954c6a931ee97584014c826255e0bdaa
tree14a5833adcd021af9206f47c8530ec83c9bd3ae3
parent34ca7d3791c6a467ff6810a149bdf78be086c23a
V4L/DVB (6342): ivtv: fix circular locking (bug 9037)

If you try to access the video device from within an udev rule,
then you get into a circular locking situation.

Changed the driver to postpone the registration of the devices until
everything else has been fully initialized, so that the newly created
device can be used immediately.

Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/ivtv/ivtv-driver.c
drivers/media/video/ivtv/ivtv-streams.c
drivers/media/video/ivtv/ivtv-streams.h