android_kernel_xiaomi_sm8350/drivers/media
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
..
common i2c: Drivers shouldn't include <linux/i2c-id.h> 2010-11-15 22:40:38 +01:00
dvb dvb: don't use flush_scheduled_work() 2010-12-24 16:00:17 +01:00
IR Input: ir-keytable - fix uninitialized variable warning 2010-10-31 21:05:43 -04:00
radio BKL: remove extraneous #include <smp_lock.h> 2010-11-17 08:59:32 -08:00
video media/video: explicitly flush request_module work 2010-12-24 16:14:20 +01:00
Kconfig [media] v4l: kill the BKL 2010-11-08 22:35:57 -02:00
Makefile