Hi Sebastian,
Thanks for the patch.
On Sunday 16 September 2012 21:58:42 Sebastian Andrzej Siewior wrote:
> The "video->minor = -1" assigment is done in V4L2 by
> video_register_device() so it is removed here.
> Now. uvc_function_bind() calls in error case uvc_function_unbind() for
> cleanup. The
The "video->minor = -1" assigment is done in V4L2 by
video_register_device() so it is removed here.
Now. uvc_function_bind() calls in error case uvc_function_unbind() for
cleanup. The problem is that uvc_function_unbind() frees the uvc struct
and uvc_bind_config() does as well in error case of usb_