[PATCH 0/2] usb: gadget: fixes for f_sourcesink and f_loopback

From: Robert Baldyga
Date: Thu Sep 24 2015 - 11:03:24 EST

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(-)


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/