diff options
Diffstat (limited to 'drivers/media/video/em28xx/em28xx-video.c')
-rw-r--r-- | drivers/media/video/em28xx/em28xx-video.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/media/video/em28xx/em28xx-video.c b/drivers/media/video/em28xx/em28xx-video.c index 129bd06a2ea..154a99c61ee 100644 --- a/drivers/media/video/em28xx/em28xx-video.c +++ b/drivers/media/video/em28xx/em28xx-video.c | |||
@@ -1603,6 +1603,10 @@ static void em28xx_release_resources(struct em28xx *dev) | |||
1603 | list_del(&dev->devlist); | 1603 | list_del(&dev->devlist); |
1604 | if (dev->sbutton_input_dev) | 1604 | if (dev->sbutton_input_dev) |
1605 | em28xx_deregister_snapshot_button(dev); | 1605 | em28xx_deregister_snapshot_button(dev); |
1606 | |||
1607 | if (dev->ir) | ||
1608 | em28xx_ir_fini(dev); | ||
1609 | |||
1606 | if (dev->radio_dev) { | 1610 | if (dev->radio_dev) { |
1607 | if (-1 != dev->radio_dev->minor) | 1611 | if (-1 != dev->radio_dev->minor) |
1608 | video_unregister_device(dev->radio_dev); | 1612 | video_unregister_device(dev->radio_dev); |