Re: [PATCHv2 2/3] usb: gadget: uvc: verify descriptors presence

2014-12-07 Thread Laurent Pinchart
Hi Andrzej, On Sunday 07 December 2014 23:09:42 Laurent Pinchart wrote: > On Friday 05 December 2014 15:16:35 Andrzej Pietrasiewicz wrote: > > If the caller of uvc_alloc() does not provide enough > > descriptors, binding the function should fail, so appropriate > > code is returned from uvc_copy_d

Re: [PATCHv2 2/3] usb: gadget: uvc: verify descriptors presence

2014-12-07 Thread Laurent Pinchart
Hi Andrzej, Thank you for the patch. On Friday 05 December 2014 15:16:35 Andrzej Pietrasiewicz wrote: > If the caller of uvc_alloc() does not provide enough > descriptors, binding the function should fail, so appropriate > code is returned from uvc_copy_descriptors(). > > uvc_function_bind() is