diff options
Diffstat (limited to 'drivers/media/dvb/firewire/firedtv-rc.c')
-rw-r--r-- | drivers/media/dvb/firewire/firedtv-rc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/media/dvb/firewire/firedtv-rc.c b/drivers/media/dvb/firewire/firedtv-rc.c index 27bca2e283df..599d66e5843d 100644 --- a/drivers/media/dvb/firewire/firedtv-rc.c +++ b/drivers/media/dvb/firewire/firedtv-rc.c | |||
@@ -14,6 +14,7 @@ | |||
14 | #include <linux/kernel.h> | 14 | #include <linux/kernel.h> |
15 | #include <linux/string.h> | 15 | #include <linux/string.h> |
16 | #include <linux/types.h> | 16 | #include <linux/types.h> |
17 | #include <linux/workqueue.h> | ||
17 | 18 | ||
18 | #include "firedtv.h" | 19 | #include "firedtv.h" |
19 | 20 | ||
@@ -163,6 +164,7 @@ fail: | |||
163 | 164 | ||
164 | void fdtv_unregister_rc(struct firedtv *fdtv) | 165 | void fdtv_unregister_rc(struct firedtv *fdtv) |
165 | { | 166 | { |
167 | cancel_work_sync(&fdtv->remote_ctrl_work); | ||
166 | kfree(fdtv->remote_ctrl_dev->keycode); | 168 | kfree(fdtv->remote_ctrl_dev->keycode); |
167 | input_unregister_device(fdtv->remote_ctrl_dev); | 169 | input_unregister_device(fdtv->remote_ctrl_dev); |
168 | } | 170 | } |