Commit 6582af4c authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

[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: default avatarFrank Schäfer <fschaefer.oss@googlemail.com>
Tested-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent aa929ad7
......@@ -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);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment