linux/drivers/media/video/saa7134
Tejun Heo 707bcf326b media/video: explicitly flush request_module work
Video drivers request submodules using a work during probe and calls
flush_scheduled_work() on exit to make sure the work is complete
before being unloaded.  This patch makes these drivers flush the work
directly instead of using flush_scheduled_work().

While at it, relocate request_submodules() call in saa7134_initdev()
right right before successful return as in other drivers to avoid
failing after the work is scheduled and returning failure without the
work still active.

This is in preparation for the deprecation of flush_scheduled_work().

Signed-off-by: Tejun Heo <tj@kernel.org>
Cc: Mauro Carvalho Chehab <mchehab@infradead.org>
2010-12-24 16:14:20 +01:00
..
Kconfig V4L/DVB: saa7134-input can't be a module right now 2010-10-21 01:16:52 -02:00
Makefile V4L/DVB: saa7134-input can't be a module right now 2010-10-21 01:16:52 -02:00
saa6752hs.c V4L/DVB: saa6752hs: remove obsolete v4l2-i2c-drv.h header 2010-10-21 01:05:59 -02:00
saa7134-alsa.c V4L/DVB: drivers/media: Remove unnecessary casts of private_data 2010-08-02 16:42:53 -03:00
saa7134-cards.c [media] saa7134: Fix autodetect for Behold A7 and H7 TV cards 2010-11-09 10:12:47 -02:00
saa7134-core.c media/video: explicitly flush request_module work 2010-12-24 16:14:20 +01:00
saa7134-dvb.c V4L/DVB: videobuf: add ext_lock argument to the queue init functions 2010-10-21 01:06:14 -02:00
saa7134-empress.c BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
saa7134-i2c.c V4L/DVB: saa7134: get rid of I2C_HW_SAA7134 2010-10-21 01:06:07 -02:00
saa7134-input.c [media] saa7134: port Asus P7131 Hybrid to use the new rc-core 2010-10-21 07:54:10 -02:00
saa7134-reg.h V4L/DVB: saa7134: Fix IRQ2 bit names for the register map 2010-05-19 12:56:52 -03:00
saa7134-ts.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-tvaudio.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-vbi.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
saa7134-video.c [media] saa7134: add test after for loop 2010-10-21 07:54:19 -02:00
saa7134.h V4L/DVB: saa7134-input can't be a module right now 2010-10-21 01:16:52 -02:00