Re: [PATCH v2] usb: gadget: f_sourcesink: fix function params handling

2015-10-14 Thread Felipe Balbi
Hi, Robert Baldyga writes: > Hi Felipe, > > On 09/24/2015 06:49 PM, Felipe Balbi wrote: >> On Thu, Sep 24, 2015 at 05:23:09PM +0200, Robert Baldyga wrote: >>> Move function parameters to struct f_sourcesink to make them per instance >>> instead of having them as global variables. Since we can ha

Re: [PATCH v2] usb: gadget: f_sourcesink: fix function params handling

2015-10-14 Thread Robert Baldyga
Hi Felipe, On 09/24/2015 06:49 PM, Felipe Balbi wrote: > On Thu, Sep 24, 2015 at 05:23:09PM +0200, Robert Baldyga wrote: >> Move function parameters to struct f_sourcesink to make them per instance >> instead of having them as global variables. Since we can have multiple >> instances of USB functi

Re: [PATCH v2] usb: gadget: f_sourcesink: fix function params handling

2015-09-24 Thread Krzysztof Opasiak
On 09/24/2015 06:49 PM, Felipe Balbi wrote: On Thu, Sep 24, 2015 at 05:23:09PM +0200, Robert Baldyga wrote: Move function parameters to struct f_sourcesink 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

Re: [PATCH v2] usb: gadget: f_sourcesink: fix function params handling

2015-09-24 Thread Felipe Balbi
On Thu, Sep 24, 2015 at 05:23:09PM +0200, Robert Baldyga wrote: > Move function parameters to struct f_sourcesink 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

[PATCH v2] usb: gadget: f_sourcesink: fix function params handling

2015-09-24 Thread Robert Baldyga
Move function parameters to struct f_sourcesink 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. Cc: # 3.10+ Signed-off-by: Robert Baldyga --- drivers/usb