aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-core/dvbdev.c
diff options
context:
space:
mode:
authorChris Rankin <rankincj@yahoo.com>2007-02-06 20:29:07 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-02-21 13:35:31 -0200
commite1af498063007cee5d7ec5af1e0cf25c088d05c7 (patch)
tree39067ca8764c1993aca6ed777f9eae4dae43335d /drivers/media/dvb/dvb-core/dvbdev.c
parentV4L/DVB (5240): Qt1010: use i2c_gate_ctrl where appropriate (diff)
downloadlinux-dev-e1af498063007cee5d7ec5af1e0cf25c088d05c7.tar.xz
linux-dev-e1af498063007cee5d7ec5af1e0cf25c088d05c7.zip
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>
Diffstat (limited to 'drivers/media/dvb/dvb-core/dvbdev.c')
0 files changed, 0 insertions, 0 deletions