Messages in this thread | | | From | Robert Baldyga <> | Subject | [PATCH 0/2] usb: gadget: fixes for f_sourcesink and f_loopback | Date | Thu, 24 Sep 2015 17:02:45 +0200 |
| |
Hi Felipe,
There are two bugfix patches. The problem was that function parameters in f_sourcesink and f_loopback were stored in global variables, and in result setting parameters in one function instance caused overwriting them in all other instances. This patchset fixes this problem by replacing global variables with per instance parameters.
Best regards, Robert Baldyga
Robert Baldyga (2): usb: gadget: f_sourcesink: fix function params handling usb: gadget: f_loopfack: fix function params handling
drivers/usb/gadget/function/f_loopback.c | 22 +++--- drivers/usb/gadget/function/f_sourcesink.c | 120 +++++++++++++++-------------- 2 files changed, 74 insertions(+), 68 deletions(-)
-- 1.9.1
| |