1
linux/drivers/media
Andrew de Quincey f47f4763cd V4L/DVB (3725): Fix mutex in dvb_register_device to work.
This mutex is meant to stop two devices getting the same ID. dvbdev_get_free_id() 
scans the list of already allocated devices to find a free id.
Unfortunately, since the mutex is unlocked before the card is added to the
above list, it is still possible for two of them to get the same id.
Its debatable whether this mutex lock is actually needed, but I'm unwilling
to just remove it in case something does depend on it.

Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2006-05-12 19:54:37 -03:00
..
common V4L/DVB (3516): Make video_buf more generic 2006-03-24 16:26:49 -03:00
dvb V4L/DVB (3725): Fix mutex in dvb_register_device to work. 2006-05-12 19:54:37 -03:00
radio V4L/DVB (3318b): sem2mutex: drivers/media/, #2 2006-02-07 06:49:14 -02:00
video V4L/DVB (3704): Fix some errors on bttv_risc_overlay 2006-05-12 19:54:35 -03:00
Kconfig V4L/DVB (3619): Whitespace cleanup 2006-04-02 04:55:11 -03:00
Makefile