2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 20:53:53 +08:00
linux-next/drivers/media
Chris Rankin e1af498063 V4L/DVB (5178): Avoid race when deregistering the IR control for dvb-usb
The work item function is dvb_usb_read_remote_control():
        INIT_WORK(&d->rc_query_work, dvb_usb_read_remote_control, d);
and the last piece of work it does is:
        schedule_delayed_work(&d->rc_query_work,msecs_to_jiffies(d->props.rc_interval));
Hence you need to call "cancel_rearming_delayed_work()" and not
"cancel_delayed_work()", correct?  I certainly haven't seen this oops
reoccur since I applied this patch.

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
2007-02-21 13:35:31 -02:00
..
common V4L/DVB (5193): Remove the unused kernel config option VIDEO_VIDEOBUF 2007-02-21 13:35:16 -02:00
dvb V4L/DVB (5178): Avoid race when deregistering the IR control for dvb-usb 2007-02-21 13:35:31 -02:00
radio V4L/DVB (5201): Radio/: Convert to generic boolean-values 2007-02-21 13:35:17 -02:00
video V4L/DVB (5212): Pvrusb2: Be more forgiving about encoder firmware size 2007-02-21 13:35:20 -02:00
Kconfig V4L/DVB (5196): VIDEO_BUF depends on PCI 2007-02-21 13:35:16 -02:00
Makefile [PATCH] dvb: avoid building empty built-in.o 2005-09-09 13:57:36 -07:00