diff options
Diffstat (limited to 'drivers/media/radio')
-rw-r--r-- | drivers/media/radio/radio-mr800.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-mr800.c b/drivers/media/radio/radio-mr800.c index 97967ad3cd12..2f56b26cece9 100644 --- a/drivers/media/radio/radio-mr800.c +++ b/drivers/media/radio/radio-mr800.c | |||
@@ -285,8 +285,8 @@ static void usb_amradio_disconnect(struct usb_interface *intf) | |||
285 | 285 | ||
286 | mutex_lock(&radio->lock); | 286 | mutex_lock(&radio->lock); |
287 | v4l2_device_disconnect(&radio->v4l2_dev); | 287 | v4l2_device_disconnect(&radio->v4l2_dev); |
288 | video_unregister_device(&radio->videodev); | ||
289 | mutex_unlock(&radio->lock); | 288 | mutex_unlock(&radio->lock); |
289 | video_unregister_device(&radio->videodev); | ||
290 | } | 290 | } |
291 | 291 | ||
292 | /* vidioc_querycap - query device capabilities */ | 292 | /* vidioc_querycap - query device capabilities */ |