@@ -1703,6 +1703,7 @@ static void uvc_unregister_video(struct uvc_device *dev)
stream->vdev = NULL;
uvc_debugfs_cleanup_stream(stream);
+ uvc_video_enable(stream, 0);
}
/* Decrement the stream count and call uvc_delete explicitly if there
@@ -1950,10 +1951,6 @@ static void uvc_disconnect(struct usb_interface *intf)
*/
usb_set_intfdata(intf, NULL);
- if (intf->cur_altsetting->desc.bInterfaceSubClass ==
- UVC_SC_VIDEOSTREAMING)
- return;
-
dev->state |= UVC_DEV_DISCONNECTED;
uvc_unregister_video(dev);
* Sebastian Andrzej Siewior | 2014-12-06 00:23:27 [+0100]: >I had one patch doing that. Let me grab it out on Monday. okay, this is it. Laurent, any idea why this could not fly? I haven't seen anything odd so far.