diff options
author | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-13 01:44:23 (GMT) |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-01-14 16:38:53 (GMT) |
commit | 6582af4c018afd222596d6244b6d685182035c75 (patch) | |
tree | 9b0bd0a3e9047431a86d0a34080e201c9951f22d /drivers/media | |
parent | aa929ad783c0762f276c8c810f1c7f00b12dca4a (diff) | |
download | linux-6582af4c018afd222596d6244b6d685182035c75.tar.xz |
[media] em28xx: Fix usb diconnect logic
Now that everything is extension, the usb disconnect logic should
be the same.
While here, fix the device name.
Reviewed-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Tested-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media')
-rw-r--r-- | drivers/media/usb/em28xx/em28xx-cards.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/media/usb/em28xx/em28xx-cards.c b/drivers/media/usb/em28xx/em28xx-cards.c index 3b332d5..e08d65b 100644 --- a/drivers/media/usb/em28xx/em28xx-cards.c +++ b/drivers/media/usb/em28xx/em28xx-cards.c @@ -3379,12 +3379,7 @@ static void em28xx_usb_disconnect(struct usb_interface *interface) dev->disconnected = 1; - if (dev->is_audio_only) { - em28xx_close_extension(dev); - return; - } - - em28xx_info("disconnecting %s\n", dev->vdev->name); + em28xx_info("Disconnecting %s\n", dev->name); flush_request_modules(dev); |