diff options
author | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-06 21:29:07 -0200 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@infradead.org> | 2007-02-06 21:29:07 -0200 |
commit | a3318fa68e690e504facbbb034973611802f26c6 (patch) | |
tree | d1f23e73041a05e75e9ad51fe90172190225139b /linux/drivers/media/video | |
parent | 36c59f9e8c39e5cb43d2da21c017075ea9cfa6a1 (diff) | |
download | mediapointer-dvb-s2-a3318fa68e690e504facbbb034973611802f26c6.tar.gz mediapointer-dvb-s2-a3318fa68e690e504facbbb034973611802f26c6.tar.bz2 |
Avoid race when deregistering the IR control for dvb-usb
From: Chris Rankin <rankincj@yahoo.com>
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>
Diffstat (limited to 'linux/drivers/media/video')
0 files changed, 0 insertions, 0 deletions