Re: [PATCH v2 4/8] usb: gadget: uvc: configfs: Allocate groups dynamically

2018-09-24 Thread Kieran Bingham
Hi Laurent, On 01/08/18 22:55, Laurent Pinchart wrote: > The UVC configfs implementation creates all groups as global static > variables. This prevents creation of multiple UVC function instances, > as they would all require their own configfs group instances. > > Fix this by allocating all

[PATCH v2 4/8] usb: gadget: uvc: configfs: Allocate groups dynamically

2018-08-01 Thread Laurent Pinchart
The UVC configfs implementation creates all groups as global static variables. This prevents creation of multiple UVC function instances, as they would all require their own configfs group instances. Fix this by allocating all groups dynamically. To avoid duplicating code around, extend the