aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/dvb/dvb-usb/dvb-usb-remote.c')
-rw-r--r--drivers/media/dvb/dvb-usb/dvb-usb-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-remote.c b/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
index 19ff5978bc91..9511a31c8f50 100644
--- a/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
+++ b/drivers/media/dvb/dvb-usb/dvb-usb-remote.c
@@ -151,7 +151,7 @@ int dvb_usb_remote_init(struct dvb_usb_device *d)
151int dvb_usb_remote_exit(struct dvb_usb_device *d) 151int dvb_usb_remote_exit(struct dvb_usb_device *d)
152{ 152{
153 if (d->state & DVB_USB_STATE_REMOTE) { 153 if (d->state & DVB_USB_STATE_REMOTE) {
154 cancel_delayed_work(&d->rc_query_work); 154 cancel_rearming_delayed_work(&d->rc_query_work);
155 flush_scheduled_work(); 155 flush_scheduled_work();
156 input_unregister_device(d->rc_input_dev); 156 input_unregister_device(d->rc_input_dev);
157 } 157 }