[PATCH 2/2] usb: gadget: f_loopfack: fix function params handling

2015-09-24 Thread Robert Baldyga
Move function parameters to struct f_loopback to make them per instance instead of having them as global variables. Since we can have multiple instances of USB function we also want to have separate set of parameters for each instance. Signed-off-by: Robert Baldyga ---

Re: [PATCH 2/2] usb: gadget: f_loopfack: fix function params handling

2015-09-24 Thread Robert Baldyga
Hi Felipe, I see that Krzysztof Opasiak made the same change in patch https://lkml.org/lkml/2015/9/22/578, so please just ignore my patch. My first patch is still needed - I will resend it with CC: stable. Thanks, Robert Baldyga On 09/24/2015 05:02 PM, Robert Baldyga wrote: > Move function