aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/radio/radio-mr800.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c
index c4f4cd8dbb6c..dbae50ba250c 100644
--- a/drivers/media/radio/radio-mr800.c
+++ b/drivers/media/radio/radio-mr800.c
@@ -273,8 +273,8 @@ static void usb_amradio_disconnect(struct usb_interface *intf)
273 mutex_unlock(&radio->lock); 273 mutex_unlock(&radio->lock);
274 274
275 usb_set_intfdata(intf, NULL); 275 usb_set_intfdata(intf, NULL);
276 video_unregister_device(&radio->videodev);
277 v4l2_device_disconnect(&radio->v4l2_dev); 276 v4l2_device_disconnect(&radio->v4l2_dev);
277 video_unregister_device(&radio->videodev);
278} 278}
279 279
280/* vidioc_querycap - query device capabilities */ 280/* vidioc_querycap - query device capabilities */