alistair23-linux/drivers/media
Mike Isely e5be15c638 V4L/DVB (7711): pvrusb2: Fix race on module unload
The pvrusb2 driver - for basically forever - was not enforcing a
proper module tear-down.  Kernel threads are used inside the driver
and all must be gone before the module can be safely removed.  This
changeset reimplements a chunk of pvrusb2-context.c to enforce this
correctly.  Unfortunately this is not a simple fix.  The new
implementation also cuts back on kernel thread usage; instead of there
being 1 control thread per instance now it's just 1 control thread
shared by all instances.  (By dropping to a single thread then the
module exit function can block on its shutdown and the thread itself
can monitor and cleanly shut down all of the other instances first.)

Signed-off-by: Mike Isely <isely@pobox.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2008-04-24 14:09:48 -03:00
..
common V4L/DVB (7677): saa7134: Add/fix Beholder entries 2008-04-24 14:09:46 -03:00
dvb V4L/DVB (7674): tda10048: Adding an SNR table 2008-04-24 14:09:45 -03:00
radio V4L/DVB (7582): proc: switch /proc/driver/radio-typhoon to seq_file interface 2008-04-24 14:09:40 -03:00
video V4L/DVB (7711): pvrusb2: Fix race on module unload 2008-04-24 14:09:48 -03:00
Kconfig V4L/DVB (7584): Fix build that occurs when CONFIG_VIDEO_PMS=y and VIDEO_V4L2_COMMON=m 2008-04-24 14:09:40 -03:00
Makefile V4L/DVB (7499): v4l/dvb Kconfig: Fix bugzilla #10067 2008-04-06 17:13:20 -03:00